From: haodong Date: Mon, 7 Nov 2016 06:33:21 +0000 (+0800) Subject: os/bluestore: reap ioc when stopping aio_thread. X-Git-Tag: v11.1.0~363^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11811%2Fhead;p=ceph.git os/bluestore: reap ioc when stopping aio_thread. 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 --- diff --git a/src/os/bluestore/KernelDevice.cc b/src/os/bluestore/KernelDevice.cc index a24b8b751e9..3fb12af2d04 100644 --- a/src/os/bluestore/KernelDevice.cc +++ b/src/os/bluestore/KernelDevice.cc @@ -287,6 +287,7 @@ void KernelDevice::_aio_thread() } } } + reap_ioc(); dout(10) << __func__ << " end" << dendl; }