]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Fri, 18 May 2018 16:37:57 +0000 (09:37 -0700)
commit34124eaa00d8dd6190b13b2cbdcd1036d162d016
tree50f68b3ca84b59b51dfeea89bffdb4ca282d967d
parent5eaa8cd6f836e4794815c128499b062c0308a7cb
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>
(cherry picked from commit 9e0ac797c602a088447679b04e14ec0cfaf9dd7b)
src/osd/PG.cc
src/osd/osd_types.h