]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add 'osd blocked-by' command
authorSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 21:04:51 +0000 (14:04 -0700)
committerSage Weil <sage@redhat.com>
Sat, 9 Aug 2014 01:12:31 +0000 (18:12 -0700)
commitc51104684335ca7005a133306b95b92c0ba6d712
tree4925a0f8bf8495d268f676e3d38cddd9a236c505
parentd55e9730859aafbd93c7b66fae05e907d28e40e5
mon: add 'osd blocked-by' command

Print a histogram of how many peers are blocked by each OSD.  This is
useful for quickly diagnosing which OSDs are broken or slow and preventing
peering from completing.

In the future, we can populate the pg_stat_t with peer OSDs for more than
just peering waits, but this is a useful start.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/mon/PGMap.cc