From d13b2b3a7a540386adc3681c7170b4ec31d16610 Mon Sep 17 00:00:00 2001 From: haodong Date: Mon, 7 Nov 2016 14:33:21 +0800 Subject: [PATCH] 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 --- src/os/bluestore/KernelDevice.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/bluestore/KernelDevice.cc b/src/os/bluestore/KernelDevice.cc index a24b8b751e99..3fb12af2d042 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; } -- 2.47.3