]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/cache: cleanup get_extent(_by_type)
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 7 Mar 2024 07:34:06 +0000 (15:34 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 7 May 2024 11:27:07 +0000 (14:27 +0300)
commit110ae7cde5e58e05cf52c69c7c006a5e64816905
treeabeef06d55f9111ffe042d9d64ad54270879af91
parent1c7396e45ec9f48c2dec12328e6209f2316273a7
crimson/os/cache: cleanup get_extent(_by_type)

Distinguish caching vs absent get_extent interfaces, and misc related
cleanups.

After the lba parent-child pointer optimization, the absent path should
be used.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 05c916ba46b9edeb0551e1629373c64c91bcdd5f)
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h
src/test/crimson/seastore/test_seastore_cache.cc