From 2b924a266f9f2b36cb47513357b5e64823cb7279 Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Tue, 7 May 2024 18:05:27 +0800 Subject: [PATCH] crimson/osd/ops_executor: calculation of clone_overlap shouldn't consider snap contexts Fixes: https://tracker.ceph.com/issues/65832 Signed-off-by: Xuehan Xu (cherry picked from commit 213ae3f42cbb478b503212d704161b16e90cf878) --- src/crimson/osd/ops_executer.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/crimson/osd/ops_executer.cc b/src/crimson/osd/ops_executer.cc index 10020e9adf8..45ecd2a1404 100644 --- a/src/crimson/osd/ops_executer.cc +++ b/src/crimson/osd/ops_executer.cc @@ -980,7 +980,6 @@ void OpsExecuter::update_clone_overlap() { &cloning_ctx->new_snapset.clone_overlap.rbegin()->second; } else if (op_info.may_write() && obc->obs.exists - && !snapc.snaps.empty() && !obc->ssc->snapset.clones.empty()) { newest_overlap = &obc->ssc->snapset.clone_overlap.rbegin()->second; -- 2.39.5