]> git.apps.os.sepia.ceph.com Git - ceph.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>
Wed, 15 May 2019 20:05:36 +0000 (16:05 -0400)
commit914df9c9b9206fd359f1e9197a319fcbac6b723d
treed548c09d89157970635d320658d2f45836f510fe
parent5b4a61870d9ace55ab2ac41169134ce9869c6837
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>
(cherry picked from commit 5b90dbe0ae4be3dccfc3fbc0c8d5eb1ed7bb3168)
src/librbd/io/CopyupRequest.cc
src/librbd/io/CopyupRequest.h