]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Clear part of cleaned_meta_map in case of a restarted smaller chunk 22041/head
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 20:38:12 +0000 (13:38 -0700)
commit65406d69150e3ca1fa1c1e611d6cee34b0a7dad4
tree6595ef35e8f4b6c6fc27da647157a58e7e17c866
parentaf5a116f503ae9dd7c524dd67ca678233d15f27d
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