From: Jason Dillaman Date: Thu, 30 Apr 2015 19:34:43 +0000 (-0400) Subject: librbd: execute flush completion outside of cache_lock X-Git-Tag: v9.0.2~46^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5f157f20980de7e9a05fb933fb57efdc759da78b;p=ceph.git librbd: execute flush completion outside of cache_lock Signed-off-by: Jason Dillaman --- diff --git a/src/librbd/ImageCtx.cc b/src/librbd/ImageCtx.cc index 0e12de2756e..7d10713fa34 100644 --- a/src/librbd/ImageCtx.cc +++ b/src/librbd/ImageCtx.cc @@ -720,7 +720,8 @@ public: << unclean << " bytes remain" << dendl; r = -EBUSY; } - on_finish->complete(r); + + op_work_queue->queue(on_finish, r); } void ImageCtx::clear_nonexistence_cache() {