]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
TrackedOp: allow dumping historic ops sorted by duration 14050/head
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Mon, 20 Mar 2017 12:51:25 +0000 (13:51 +0100)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Wed, 22 Mar 2017 12:32:04 +0000 (13:32 +0100)
commit8b415e6aed818aadba1928fd09d7f1c6d22ab664
tree1ad6091bd718ee540187dba7329b35b8c8cd074a
parentad4ffed83857aeddb4e32c5d0dc9196c64bcf9de
TrackedOp: allow dumping historic ops sorted by duration

Currently dump_historic_ops dumps ops sorted by their initiation time,
which may not have any relation to how long it took, and sorting output
of that command by op duration is neither fast nor convenient.
New asok command ("dump_historic_ops_by_duration") outputs the same
op list, but ordered by their duration time (longest first).

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/common/TrackedOp.cc
src/common/TrackedOp.h
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc
src/osd/OSD.cc