]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: bound number of blocked_by OSDs we report per PG
authorSage Weil <sage@redhat.com>
Sat, 9 Aug 2014 01:07:28 +0000 (18:07 -0700)
committerSage Weil <sage@redhat.com>
Sat, 9 Aug 2014 01:12:31 +0000 (18:12 -0700)
commitd8627313a4adce8b007f4db5e7cd031d65c9dd7d
tree53683545cc3e84385602dad253ab84b618c719d7
parentbee79ec480ae4b7066739cdf47f21a03cf517252
osd/PG: bound number of blocked_by OSDs we report per PG

We don't want to include an unbounded-sized vector of OSDs in the pg_stat_t
struct.  Cap it, and report a random subset of the actual blockers to fit
within the limit.

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