]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/cache: conconrrent read of EXIST_CLEAN extents can 68534/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 22 Apr 2026 03:08:01 +0000 (11:08 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 22 Apr 2026 03:08:01 +0000 (11:08 +0800)
lead to non-stable and io pending extents

Fixes: https://tracker.ceph.com/issues/76197
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/cache.h

index 92cf2a9e487555d532fdec508627eb629762807c..792b13ea751b29d150bcdcf72b80e4de39679049 100644 (file)
@@ -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;