]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/cached_extent: add "seen_by_users" to LogicalCachedExtent
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 21 Apr 2025 07:38:56 +0000 (15:38 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 22 Apr 2025 10:29:58 +0000 (18:29 +0800)
commit2c3a3e3fe9753f27adefe2f3b68425dd6c486e6a
tree481276f81fa250d65e935b72752d4193881234c3
parent55e7b4c5609f7b73a8412ef02a286793151e5281
crimson/os/seastore/cached_extent: add "seen_by_users" to LogicalCachedExtent

This indicates whether the extent has been seen by user transactions.

This is required to implement the accurate init callback which is
guaranteed be called only once.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cached_extent.cc
src/crimson/os/seastore/cached_extent.h
src/crimson/os/seastore/seastore_types.h
src/crimson/os/seastore/transaction_manager.h