]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common/operation: distruct barrier after the wait future is resolved
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 7 May 2024 08:33:04 +0000 (16:33 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 13 Jun 2024 12:18:56 +0000 (15:18 +0300)
commit19c36d48b2cba56899ffa2d192e8f038abdca63e
treed7d754e9d87a7503251c68aead5823daff6ad8ca
parenta9265495a3b9f6d7b624fe0adb719b332810c185
crimson/common/operation: distruct barrier after the wait future is resolved

Specifically, OrderedExclusivePhaseT::mutex must be unlocked only after
it is locked. Otherwise it can unlock other client requests
unexpectedly, causing incorrect order upon exit.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 4a9ed13cb73361f4069de602c225e23002209203)
src/crimson/common/operation.h