Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

squid: crimson/common/tri_mutex: make locking/promotion atomic if possible #57511

Merged
merged 4 commits into from
May 22, 2024

Conversation

Matan-B
Copy link
Contributor

@Matan-B Matan-B commented May 16, 2024

backport of #56844

this backport was staged using crimson-backport.sh which is based on ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 9cdb67f)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 8eb9f03)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 26b96f9)
Specifically, make promotion atomic with load-obc to fix
assert(readers/writers == 1) failures.

Fixes: https://tracker.ceph.com/issues/65451
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 676947e)
@Matan-B Matan-B requested a review from a team as a code owner May 16, 2024 11:50
@Matan-B Matan-B added this to the squid milestone May 16, 2024
@Matan-B
Copy link
Contributor Author

Matan-B commented May 21, 2024

jenkins test make check

@Matan-B Matan-B merged commit 0d973a6 into ceph:squid May 22, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants