]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ignore error when object map is already locked by current client 12484/head
authorrunsisi <runsisi@zte.com.cn>
Wed, 14 Dec 2016 07:18:18 +0000 (15:18 +0800)
committerrunsisi <runsisi@zte.com.cn>
Fri, 16 Dec 2016 00:33:19 +0000 (08:33 +0800)
commit711da4e2396a8967cd457133a847d40cb46b0a5a
tree1b426a436bd655f99545f5515a7c1e823241ca33
parent6bb3a037e59938de1a57726bcc0aa1618f26b3be
librbd: ignore error when object map is already locked by current client

otherwise when using rbd cli to rollback image with object-map feature
enabled, the following error message will be printed out on the screen,
which is confusing to users:
  librbd::object_map::LockRequest: failed to lock object map: (17) File exists

Fixes: http://tracker.ceph.com/issues/16179
Signed-off-by: runsisi <runsisi@zte.com.cn>
src/librbd/object_map/LockRequest.cc