]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/cache: add a TODO comment to recommand dropping
authorXuehan Xu <xuxuehan@qianxin.com>
Mon, 13 May 2024 03:48:28 +0000 (11:48 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Fri, 17 May 2024 02:41:22 +0000 (10:41 +0800)
`Cache::retire_extent_addr` in the future

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/cache.cc

index bfe002bb2a509bd9146b4e44f3a9f193b6c2fe28..2d08a4ddf454c4d146ef8790934c5e05bde77bfa 100644 (file)
@@ -58,6 +58,7 @@ Cache::~Cache()
   ceph_assert(extents.empty());
 }
 
+// TODO: this method can probably be removed in the future
 Cache::retire_extent_ret Cache::retire_extent_addr(
   Transaction &t, paddr_t addr, extent_len_t length)
 {