From: Jason Dillaman Date: Tue, 21 Jun 2016 18:56:43 +0000 (-0400) Subject: librbd: flag image as updated after proxying maintenance op X-Git-Tag: v10.2.3~134^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9883%2Fhead;p=ceph.git librbd: flag image as updated after proxying maintenance op Fixes: http://tracker.ceph.com/issues/16404 Signed-off-by: Jason Dillaman (cherry picked from commit 478dd5f173591914b41d87b8c6d035c32cac8d3e) --- diff --git a/src/librbd/Operations.cc b/src/librbd/Operations.cc index 7766a1222f8..0fa190b1dca 100644 --- a/src/librbd/Operations.cc +++ b/src/librbd/Operations.cc @@ -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; }