]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't cancel request lock early 5319/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 15 May 2015 15:18:29 +0000 (11:18 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 29 Jul 2015 17:29:54 +0000 (13:29 -0400)
commit92272dd676ebb67a3095ce3933cac24809b054da
treed3babbfff1a034d542317cdfe9fa0ad16b475337
parent58ae92f1a716e1ffac6408793e19d47f99d63520
librbd: don't cancel request lock early

It's possible that a stale notice is received and will
be discarded after the request lock has been canceled.
This will stale the client.

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