]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: update in-memory object map after on-disk update committed
authorJason Dillaman <dillaman@redhat.com>
Wed, 7 Dec 2016 21:28:22 +0000 (16:28 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 13 Dec 2016 21:57:59 +0000 (16:57 -0500)
commit378b810cbaadb1a12a7f0d21ed9a33e2a9640f55
tree37b99de5b0834db258ec7382867575a872c22f6a
parentc6198c3e7ea161978603cbfbc27475ec08b8c3ea
librbd: update in-memory object map after on-disk update committed

Concurrent IO to the same object would previously result in the first
IO pausing to update the object map while the other IO would proceed
to directly update the object before the object map state was properly
updated.

Fixes: http://tracker.ceph.com/issues/16176
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/object_map/Request.cc
src/librbd/object_map/ResizeRequest.cc
src/librbd/object_map/UpdateRequest.cc
src/test/librbd/object_map/test_mock_UpdateRequest.cc