]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: flag image as updated after proxying maintenance op 9850/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 21 Jun 2016 18:56:43 +0000 (14:56 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 21 Jun 2016 18:56:43 +0000 (14:56 -0400)
Fixes: http://tracker.ceph.com/issues/16404
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Operations.cc

index 222a281777bf95bcd24a45ffaca87a0c0d67721e..7dcf089532e278f6eb84065afed31dd5c9662be3 100644 (file)
@@ -235,6 +235,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;
     }