From: Xuehan Xu Date: Sun, 24 Aug 2025 14:19:38 +0000 (+0000) Subject: crimson/os/seastore/cache: clear extents_index when the booting is done X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8495d64e3339eb97c4c04b826fb3ad29aeabe41c;p=ceph.git crimson/os/seastore/cache: clear extents_index when the booting is done Since all extents including RetiredExtentPlaceholder are linked to lba leaf nodes, Cache::extents_index is only useful to link all lba/backref nodes and logical extents together before SeaStore is fully booted. So we should clear Cache::extents_index after SeaStore is booted. Fixes: https://tracker.ceph.com/issues/72701 Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/os/seastore/cache.h b/src/crimson/os/seastore/cache.h index 0d6586c7e8110..e292cc7b9722a 100644 --- a/src/crimson/os/seastore/cache.h +++ b/src/crimson/os/seastore/cache.h @@ -1597,6 +1597,7 @@ public: void boot_done() { booting = false; + extents_index.clear(); } private: void touch_extent_fully(