]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: update_features should release lock if acquired
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 14:26:29 +0000 (10:26 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 May 2016 16:49:17 +0000 (12:49 -0400)
commit9e058fc852090ecb1b3a8daa3e0ee9df9d5eba3c
treeb0ea480c8efa529cb591ba9c982f5ce98a5b19b8
parente653a1541ca7df29d01e8524a3f3b597fa0fb67b
librbd: update_features should release lock if acquired

There is a small window where requests are unblocked and before
the image is shut down where new requests can be accepted.  These
are correctly canceled during the shut down, but it can lead to
warning messages.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 608e09851396a9eeb7cf6dc1c7f687ef7a033601)
src/librbd/internal.cc