Project

General

Profile

Actions

Feature #49789

open

common/TrackedOp: add op priority for TrackedOp

Added by yite gu about 3 years ago. Updated almost 3 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

Now, we can not know a request priority by ceph daemon /var/run/ceph/ceph-osd.x.asok dump_historic_ops
if this command can display op priority, this is very convenient.
@For example:

{
            "description": "osd_op(mds.0.4:35 2.7 2:f83d65d8:::200.00000004:head [delete] snapc 0=[] ondisk+write+known_if_redirected+full_force e11)",
            "priority": 63,
            "initiated_at": "2021-03-12 17:55:23.017862",
            "age": 291.562088,
            "duration": 0.055059,
            "type_data": {
                "flag_point": "started",
                "events": [
                    {
                        "time": "2021-03-12 17:55:23.017862",
                        "event": "initiated" 
                    },
                    {
                        "time": "2021-03-12 17:55:23.017912",
                        "event": "queued_for_pg" 
                    },
                    {
                        "time": "2021-03-12 17:55:23.062920",
                        "event": "reached_pg" 
                    },
                    {
                        "time": "2021-03-12 17:55:23.065793",
                        "event": "started" 
                    },
                    {
                        "time": "2021-03-12 17:55:23.072921",
                        "event": "done" 
                    }
                ]
            }
        }

Actions #1

Updated by yite gu about 3 years ago

PR:https://github.com/ceph/ceph/pull/40060

Actions #2

Updated by Kefu Chai about 3 years ago

  • Description updated (diff)
Actions #3

Updated by Kefu Chai about 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40060
Actions #4

Updated by Neha Ojha almost 3 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (common)
Actions

Also available in: Atom PDF