]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: remove useless notify_one. 22556/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Tue, 12 Jun 2018 15:49:10 +0000 (23:49 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Tue, 12 Jun 2018 15:49:10 +0000 (23:49 +0800)
In fact,no waiter wait this state.

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

index b9a8ddd6b54bd7e494910021b2934590104fac2a..e3469e048404ad701b1bfe56ddd509bf9358b977 100644 (file)
@@ -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<std::mutex> l(kv_lock);