]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: trim would not complete if exclusive lock is lost 3486/head
authorJason Dillaman <dillaman@redhat.com>
Sat, 24 Jan 2015 07:28:07 +0000 (02:28 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sat, 24 Jan 2015 07:28:07 +0000 (02:28 -0500)
commitdc1630e9f2b8478eec2aa7f8b2c9d721932a6ddb
treeb76de0f2a98bb10dd693f05971bd05ee944566d9
parente4a97c60e3bed72853f6ce51253304c7abf0b8c0
librbd: trim would not complete if exclusive lock is lost

The trim completion context was not properly invoked if the
image's exclusive lock was lost between issuing a librados call
and receiving its completion.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc