]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: deep-copy object copy should delay computing object existence
authorJason Dillaman <dillaman@redhat.com>
Fri, 29 Mar 2019 20:33:21 +0000 (16:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 8 Apr 2019 17:20:07 +0000 (13:20 -0400)
commit0c37066797737cd7c677b2649dae1e6422869afb
tree2a565e3e1bb737013f30aebe265cf291975df1cf
parent7b03130e2a2db4a67f19759f78d20d3dd682f4eb
librbd: deep-copy object copy should delay computing object existence

This prevent a potential recursive lock on the destination image's
snap_lock.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/deep_copy/ObjectCopyRequest.cc
src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc