]> 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)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 13 Jun 2024 12:25:49 +0000 (15:25 +0300)
`Cache::retire_extent_addr` in the future

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit cf49ef60755e3201b9126e46c4f0208416acc41c)

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)
 {