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 <haodong.tang@intel.com>
This commit is contained in:
haodong 2016-11-07 14:33:21 +08:00
parent ebb6f5ee81
commit d13b2b3a7a

View File

@ -287,6 +287,7 @@ void KernelDevice::_aio_thread()
}
}
}
reap_ioc();
dout(10) << __func__ << " end" << dendl;
}