From 65e2ba9b16ae3a6371ec6aae23cb87da976c110b Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Wed, 22 Apr 2026 11:08:01 +0800 Subject: [PATCH] crimson/os/seastore/cache: conconrrent read of EXIST_CLEAN extents can lead to non-stable and io pending extents Fixes: https://tracker.ceph.com/issues/76197 Signed-off-by: Xuehan Xu --- src/crimson/os/seastore/cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/os/seastore/cache.h b/src/crimson/os/seastore/cache.h index 92cf2a9e4875..792b13ea751b 100644 --- a/src/crimson/os/seastore/cache.h +++ b/src/crimson/os/seastore/cache.h @@ -681,7 +681,7 @@ public: needs_step_2 = !ret.is_paddr_known; } } else { - assert(!extent->is_pending_io()); + assert(!extent->is_pending_io() || extent->is_exist_clean()); assert(extent->is_pending_in_trans(t.get_trans_id())); ++access_stats.trans_pending; ++stats.access.trans_pending; -- 2.47.3