]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test, osd: Improvements to auto_repair 1(3)
authorDavid Zafman <dzafman@redhat.com>
Wed, 13 Mar 2019 05:22:53 +0000 (22:22 -0700)
committerDavid Zafman <dzafman@redhat.com>
Sat, 23 Mar 2019 16:52:40 +0000 (09:52 -0700)
commit2202e5d0b107795837ce79ffce2a980e8c12fc62
tree56539beba132ec95a850042e5304501520f180ce
parent315d32488963705f28cd51a327281b8940d1e7cd
test, osd: Improvements to auto_repair 1(3)

Allow auto_repair for replicated bluestore pools
Regular scrub within auto repair parameters will trigger deep scrub
New state failed_repair if PG repair attempt could not fix everything
Set failed_repair if not possible to repair anything

Fixes: http://tracker.ceph.com/issues/38616
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/scrub/osd-scrub-repair.sh
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedBackend.h
src/osd/osd_types.cc
src/osd/osd_types.h