]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: make MDSIOContextBase delete itself when shutting down 29752/head
authorXuehan Xu <xxhdx1985126@163.com>
Tue, 20 Aug 2019 02:30:42 +0000 (10:30 +0800)
committerXuehan Xu <xxhdx1985126@163.com>
Thu, 12 Sep 2019 02:56:41 +0000 (10:56 +0800)
Fixes: https://tracker.ceph.com/issues/41346
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
src/mds/MDSContext.cc

index bdf265965eea2cb032be049896d6c38905818600..bec31daad6a43c03134cad7b33c7e0f75947b193 100644 (file)
@@ -95,6 +95,7 @@ void MDSIOContextBase::complete(int r) {
   if (mds->is_daemon_stopping()) {
     dout(4) << "MDSIOContextBase::complete: dropping for stopping "
             << typeid(*this).name() << dendl;
+    MDSContext::complete(r);
     return;
   }