]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: persist inconsistent snapsets using omap
authorKefu Chai <kchai@redhat.com>
Sat, 30 Jan 2016 07:22:49 +0000 (15:22 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 25 Feb 2016 04:41:55 +0000 (12:41 +0800)
commit2009ed274d4a02a779ec5dc873c3a8ea46e56f1f
treeb28dfdfda2cb1656218c78b8343d435846a9f450
parentc828c398b111899433fa620399ce0c4bf66b40c3
osd: persist inconsistent snapsets using omap

the inconsistent snapsets are identified in ReplicatedPG::_scrub()
after we compared the authorized objects with their replica/shards.
these inconsistent information are stored in the omap of objects
with prefix "SCRUB_SS_".

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/scrub_types.cc
src/common/scrub_types.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
src/osd/ScrubStore.cc
src/osd/ScrubStore.h