]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
fixup! crimson/os/seastore/lba: set extent type for ZERO lba mappings
authorXuehan Xu <xuxuehan@qianxin.com>
Sat, 23 May 2026 07:26:48 +0000 (15:26 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Sun, 24 May 2026 09:40:13 +0000 (17:40 +0800)
src/crimson/os/seastore/backref/btree_backref_manager.cc

index 833329d4d342137ecfff2b8a92a6e2c6449ee46d..649f0ab5e9fd75cd14454f2adaa9262511b56b9a 100644 (file)
@@ -570,9 +570,7 @@ BtreeBackrefManager::remove_mapping(
        }
 
        auto val = iter.get_val();
-       if (!is_retired_placeholder_type(type)) {
-         ceph_assert(type == val.type);
-       }
+        ceph_assert(type == val.type);
        auto ret = remove_mapping_result_t{
          iter.get_key(),
          val.len,