]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ImageWatcher should cancel in-flight ops on watch error 4323/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 20 Mar 2015 15:56:55 +0000 (11:56 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 10 Apr 2015 15:23:54 +0000 (11:23 -0400)
commitfc2e511b2aed4d40eff5101a4c9e513b34e5e58e
treebc2b17f6af32bea74d23f7e8d5dc839befb2f079
parentd77de49eb1aaf35ea6153083716729cd8939cea2
librbd: ImageWatcher should cancel in-flight ops on watch error

Upon an watch error notification from librados, pending requests
should be canceled and in-flight IO should be flushed prior to
unlocking the image.

Fixes: #11363
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h