]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/lba: TRIM/CLEANER trans to adjust deltas of wip-trans-cc-opt-rbm-drop-brf
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 24 Feb 2026 07:35:58 +0000 (15:35 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 25 Feb 2026 05:16:35 +0000 (13:16 +0800)
commitc7af833de2f0d0eaa8c994d2539514abca005443
treeff97be1efa91547489b67eee164a71a31978a60f
parent57019f91dea307b3c704ce2392a5f854512b5900
crimson/os/seastore/lba: TRIM/CLEANER trans to adjust deltas of
LBALeafNodes when committing them.

This is to deal with the following scenario:
1. A client transaction modifies the value of the LBALeafNode, but not
   the pladdr but other field;
2. A TRIM/CLEANER transaction modifies the pladdr for the same laddr_t
   concurrently

In the old approach, the client trans may override the pladdr with the
outdated value after the TRIM/CLEANER transaction commits

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/common/fixed_kv_node_layout.h
src/crimson/os/seastore/cached_extent.cc
src/crimson/os/seastore/lba/lba_btree_node.h