]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: flag image as updated after proxying maintenance op 9883/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 21 Jun 2016 18:56:43 +0000 (14:56 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 23 Jun 2016 00:36:54 +0000 (20:36 -0400)
Fixes: http://tracker.ceph.com/issues/16404
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 478dd5f173591914b41d87b8c6d035c32cac8d3e)

src/librbd/Operations.cc

index 7766a1222f8652095c0f7e4a0eb9c50896dec33d..0fa190b1dcaacec14300e2635bf69c2d73122c49 100644 (file)
@@ -233,6 +233,8 @@ struct C_InvokeAsyncRequest : public Context {
     ldout(cct, 20) << __func__ << ": r=" << r << dendl;
 
     if (r != -ETIMEDOUT && r != -ERESTART) {
+      image_ctx.state->handle_update_notification();
+
       complete(r);
       return;
     }