]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Clear part of cleaned_meta_map in case of a restarted smaller chunk
authorDavid Zafman <dzafman@redhat.com>
Wed, 16 May 2018 00:32:50 +0000 (17:32 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 16 May 2018 15:10:20 +0000 (08:10 -0700)
commit9e0ac797c602a088447679b04e14ec0cfaf9dd7b
treebe46bcfd0859e277490177842a8130c0040b22e8
parent818b59fa95ee60e86991276f18c4dee405dc79b1
osd: Clear part of cleaned_meta_map in case of a restarted smaller chunk

This can not happen at the primary because scrub_compare_maps() is only
called once per chunk start.

Preemption causes a smaller chunk from start to be processed again at
replicas.  We clear any of the previous chunk's information.

Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/PG.cc
src/osd/osd_types.h