]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: automatically scrub PGs with invalid stats
authorSage Weil <sage@inktank.com>
Tue, 29 Apr 2014 18:23:58 +0000 (11:23 -0700)
committerSage Weil <sage@redhat.com>
Tue, 26 Aug 2014 13:39:20 +0000 (06:39 -0700)
commit2b86bf4f4c1be2603368d5031ee7d706056e2d1e
tree08a8d0831e1dd24f7aeebc9c0da396c3e25b64da
parent271ca7d9bc41e3a2ac387b05ca9f30d8a250fb62
osd: automatically scrub PGs with invalid stats

If a PG has recnetly split and has invalid stats, scrub it now, even if
it has scrubbed recently.  This helps the stats become valid again soon.

Fixes: #8147
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 68b440d66539e820c9ce86a6942c3188be4ee1ec)
src/common/config_opts.h
src/osd/PG.cc