From: Jianpeng Ma Date: Tue, 12 Jun 2018 15:49:10 +0000 (+0800) Subject: os/bluestore: remove useless notify_one. X-Git-Tag: v14.0.1~1007^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7109c844c9bff194ef4e19dfb1eef5b7405e2836;p=ceph.git os/bluestore: remove useless notify_one. In fact,no waiter wait this state. Signed-off-by: Jianpeng Ma --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index b9a8ddd6b54b..e3469e048404 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -9453,7 +9453,6 @@ void BlueStore::_deferred_aio_finish(OpSequencer *osr) txc->state = TransContext::STATE_DEFERRED_CLEANUP; costs += txc->cost; } - osr->qcond.notify_all(); } throttle_deferred_bytes.put(costs); std::lock_guard l(kv_lock);