]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: request exclusive lock if current owner cannot execute op 10481/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 Jul 2016 19:09:53 +0000 (15:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 28 Jul 2016 19:09:53 +0000 (15:09 -0400)
commitd2d2d90d64663905c2b81f7809f1d636db6b7fb1
treeaba4b21170404d3de4e3e1a1a116dda8f9f695c1
parente58b5c5342c926ecd5d41c77670a98b77bbc3b93
librbd: request exclusive lock if current owner cannot execute op

The initial krbd implementation will not support executing maintenance
ops and instead will return -EOPNOTSUPP. In this case, librbd can take
the lock and execute the operation.

Fixes: http://tracker.ceph.com/issues/16171
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Operations.cc