]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: populate pg_stats_t blocked_by
authorSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 20:22:30 +0000 (13:22 -0700)
committerSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 20:22:30 +0000 (13:22 -0700)
commit940e42dfd00d97d7772871e77500fab1cef9c2d6
tree31ab72bcefdffbe54560bba807e4824007bd1e09
parent466aba42adaa2e928622913f18167fc0214e32ae
osd/PG: populate pg_stats_t blocked_by

Keep a PG member for OSDs that current block us, and fill it into the
stats struct when we publish.  Use a vector<int> in pg_stats_t to limit the
overhead (memory, decoding) on this list once it is static.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h