]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: merge copyup object map update states
authorJason Dillaman <dillaman@redhat.com>
Tue, 2 Apr 2019 15:51:36 +0000 (11:51 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 8 Apr 2019 17:20:07 +0000 (13:20 -0400)
commit5b90dbe0ae4be3dccfc3fbc0c8d5eb1ed7bb3168
tree887413b606ad6eec18c850be4374af7181cf2b7a
parent711a070fa086b499eeba9a4c62005456f406689b
librbd: merge copyup object map update states

The object map HEAD and HEAD/snapshot update states have been
simplified and merged into a single state. This also fixes
several potential race conditions and an issue where CoR might
incorrectly mark the HEAD object has exists+dirty.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/CopyupRequest.cc
src/librbd/io/CopyupRequest.h