]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/operation: fix and move exit() after entering the next phase 57503/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 16 Apr 2024 07:53:47 +0000 (15:53 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 16 May 2024 11:43:27 +0000 (14:43 +0300)
commit92fac1ca849cf20c7eb9a12173f70edc637914d4
tree6304145d526fcb44b46953f6fdb7efa0c4f87478
parent0c7e7c0d119197fe4dc956046e4e3cc87821f1f8
crimson/common/operation: fix and move exit() after entering the next phase

If exit/unlock the barrier before entering the next phase, it is
possible for the next request to exit the barrier at the same time, and
enters the next phase first, causing reorder issues.

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