]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/onode: add the "need_cow" field to indicate whether
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 12 Aug 2025 06:51:15 +0000 (14:51 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Sun, 28 Sep 2025 06:48:59 +0000 (14:48 +0800)
commit07b740728e1e1b5b5553a04827c72bf483ef878a
treec20259c4c80e1472bc0524f67c51a0baca73c859
parentf42d7dbea97e13d700633ea31b4e1ad068fea72d
crimson/os/seastore/onode: add the "need_cow" field to indicate whether
the onode's object data space needs to do clone before modification

At present, it's only when the onode's object data space is sharing its
own direct lba mappings with other onodes that the "need_cow" field
would be true.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/onode.h
src/crimson/os/seastore/onode_manager/staged-fltree/fltree_onode_manager.cc
src/crimson/os/seastore/onode_manager/staged-fltree/fltree_onode_manager.h
src/test/crimson/seastore/test_object_data_handler.cc