From: Jianpeng Ma Date: Mon, 5 Aug 2019 08:44:42 +0000 (+0800) Subject: os/bluestore: no need protected by OpSequencer::qlock. X-Git-Tag: v15.1.0~1923^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=996552d2402ce7991aafc3a76f0425f917ee4f71;p=ceph.git os/bluestore: no need protected by OpSequencer::qlock. At that point, b din't belonged to OpSequencer. So no need use OpSequencer::qlock to protect. Signed-off-by: Jianpeng Ma --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index dd4e1106c289..d392e899bbf2 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -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);