From: Yingxin Cheng Date: Thu, 19 Jun 2025 10:17:05 +0000 (+0800) Subject: crimson/os/seastore/transaction: stable extent in add_present_to_retired_set() can... X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b3187f4fc050d2620356eafe7c630a77020d81dd;p=ceph.git crimson/os/seastore/transaction: stable extent in add_present_to_retired_set() can be pending-io Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/os/seastore/transaction.h b/src/crimson/os/seastore/transaction.h index aec315fb0636c..37f947c734116 100644 --- a/src/crimson/os/seastore/transaction.h +++ b/src/crimson/os/seastore/transaction.h @@ -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.