]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: no need protected by OpSequencer::qlock. 29488/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 5 Aug 2019 08:44:42 +0000 (16:44 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Mon, 5 Aug 2019 08:44:42 +0000 (16:44 +0800)
At that point, b din't belonged to OpSequencer. So no need use
OpSequencer::qlock to protect.

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

index dd4e1106c28924383111946ea0e0259d7af27527..d392e899bbf23ec9fe21264f6bdf4c9414dceb75 100644 (file)
@@ -11021,7 +11021,6 @@ void BlueStore::_deferred_aio_finish(OpSequencer *osr)
   {
     uint64_t costs = 0;
     {
-      std::lock_guard l2(osr->qlock);
       for (auto& i : b->txcs) {
        TransContext *txc = &i;
        txc->log_state_latency(logger, l_bluestore_state_deferred_aio_wait_lat);