]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueStore: optimize WALWQ::flush() 9175/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 23 May 2016 12:17:53 +0000 (20:17 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Fri, 3 Jun 2016 16:33:34 +0000 (00:33 +0800)
commit4e1294030e173ace29d955a6a94f56976b279d1f
treee7af68aeb4bc16b6363e5caa3a108fcc588d087c
parent0ee99d609e06570f5d3a096ea379388bd4a4d024
os/bluestore/BlueStore: optimize WALWQ::flush()

In fact ThreadPool::drain will do
a)wait WorkQueue::empty() is true
b)wait processing thread to complete.
So it can remove the same work which wait WorkQueue::empty().

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/os/bluestore/BlueStore.h