]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/transaction: stable extent in add_present_to_retired_set() can... 63972/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 19 Jun 2025 10:17:05 +0000 (18:17 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 19 Jun 2025 10:17:05 +0000 (18:17 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/transaction.h

index aec315fb0636cdf67603ec87bccff95b59268658..37f947c734116a68f1ea05fb63c6fb108f9842cd 100644 (file)
@@ -151,7 +151,8 @@ public:
       assert(read_set.count(ref->prior_instance->get_paddr(), extent_cmp_t{}));
       ref->reset_prior_instance();
     } else {
-      ceph_assert(ref->is_stable_ready());
+      ceph_assert(ref->is_stable());
+      ceph_assert(ref->get_paddr().is_absolute());
       // XXX: prevent double retire -- retired_set.count(ref->get_paddr()) == 0
       // If it's already in the set, insert here will be a noop,
       // which is what we want.