]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/: Use MOSDPGUpdateLogMissing to implement mark_unfound_lost_delete safely 7765/head
authorSamuel Just <sjust@redhat.com>
Fri, 12 Feb 2016 17:27:01 +0000 (09:27 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 25 Feb 2016 19:13:59 +0000 (11:13 -0800)
commite7edf20fb7264bfaeeb30ac0185e9edc925878b6
tree65feef7dbb96977ed32349c7cbfa42b8afa13653
parent88ee4e7548c29c090e539b2cb6a6378014111a31
osd/: Use MOSDPGUpdateLogMissing to implement mark_unfound_lost_delete safely

Using a MOSDPGLog was unsafe since it is not ordered with
respect to repops.  Instead, use a new message sent through
the same paths as repops.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/PGLog.cc
src/osd/PGLog.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
src/osd/osd_types.cc
src/osd/osd_types.h