]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: persist inconsistent objs using omap
authorKefu Chai <kchai@redhat.com>
Sat, 30 Jan 2016 06:38:48 +0000 (14:38 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 25 Feb 2016 04:41:55 +0000 (12:41 +0800)
commitfb956b742c384b349f022613268b30f1057cd0fc
tree69ba71bb5ef54832b6c2431a9fc36445771bfea5
parentf236b7d73679d7fb0a9688e42f129711bedb3c0d
osd: persist inconsistent objs using omap

persist inconsistent objects found when comparing the ScrubMaps
collected from replica/shards. the discrepancies between the auth
copy and the replica are identified as inconsistencies. and hence
encoded into the omap of an object of the temp coll of the PG in
question.
scrub_types.{h,cpp} are introduced to hide the details of how we
persist the scrub types from the librados client.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/common/Makefile.am
src/common/scrub_types.cc [new file with mode: 0644]
src/common/scrub_types.h [new file with mode: 0644]
src/osd/Makefile.am
src/osd/PG.cc
src/osd/PG.h
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/ScrubStore.cc [new file with mode: 0644]
src/osd/ScrubStore.h [new file with mode: 0644]