]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: reap ioc when stopping aio_thread. 11811/head
authorhaodong <haodong.tang@intel.com>
Mon, 7 Nov 2016 06:33:21 +0000 (14:33 +0800)
committerhaodong <haodong.tang@intel.com>
Tue, 8 Nov 2016 16:27:17 +0000 (00:27 +0800)
there is possibillity that reap_ioc don't excute when stopping
aio_thread. so add reap_ioc after aio_thread is stopped.

Signed-off-by: Haodong Tang <haodong.tang@intel.com>
src/os/bluestore/KernelDevice.cc

index a24b8b751e993c5ae4e9166b33a1bedd652f8b6f..3fb12af2d042438f4141e05f18b842176036714a 100644 (file)
@@ -287,6 +287,7 @@ void KernelDevice::_aio_thread()
       }
     }
   }
+  reap_ioc();
   dout(10) << __func__ << " end" << dendl;
 }