]> 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)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 7 Mar 2024 09:18:48 +0000 (17:18 +0800)
commit05c916ba46b9edeb0551e1629373c64c91bcdd5f
treec8707b1031cb334fed76e4a4900c41461ea915a7
parent785634262b6c39df44f3e88ab326421f75b06c98
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>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h
src/test/crimson/seastore/test_seastore_cache.cc