]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: include op queue age histogram in osd_stat_t
authorSage Weil <sage@inktank.com>
Wed, 17 Jul 2013 21:21:40 +0000 (14:21 -0700)
committerSage Weil <sage@inktank.com>
Thu, 18 Jul 2013 01:21:12 +0000 (18:21 -0700)
commit82722efaea2a61ec854653084638ae3543e38dec
tree7b88a64486a94f297af81f5ec554a61eeae1e374
parent2e216b547481bb52f44eb99102b2ae9ef07efa4d
osd: include op queue age histogram in osd_stat_t

This includes a simple power-of-2 histogram of op ages in the op queue
inside osd_stat_t.  This can be used for a coarse view of overall cluster
performance (it will get summed by the mon), to identify specific outlier
osds who have a higher latency than the others, or to identify stuck ops.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/osd/OSD.cc
src/osd/OpRequest.cc
src/osd/OpRequest.h
src/osd/osd_types.cc
src/osd/osd_types.h
src/test/encoding/types.h