]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: always try to acquire exclusive lock when removing image
authorMykola Golub <mgolub@suse.com>
Tue, 20 Aug 2019 14:39:38 +0000 (15:39 +0100)
committerMykola Golub <mgolub@suse.com>
Tue, 20 Aug 2019 14:44:12 +0000 (15:44 +0100)
commit48ab30d9b551edbb5270972ea8cdb8caf02769a7
tree9e6989a8aaf3431f5310df78ffa5ecbb113ebee8
parent16adf47ab88215e86468c0fdfdd13cc791a67a80
librbd: always try to acquire exclusive lock when removing image

We want it to use object map for fast removal.

Fixes: https://tracker.ceph.com/issues/41229
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/librbd/image/PreRemoveRequest.cc
src/librbd/image/PreRemoveRequest.h
src/test/librbd/image/test_mock_PreRemoveRequest.cc