]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/onode-staged-tree: encode/decode stage_size instead
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 8 Jun 2021 01:59:32 +0000 (09:59 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 11 Jun 2021 14:59:18 +0000 (22:59 +0800)
commite11c1773961cdcadfc3bcb07e5400a58a961538a
treefe825b1a0b584aeaccaf72cc23b20a8d8b317f08
parentd163f1f9d14f2f5e11a02939d4f02ab39f42e783
crimson/onode-staged-tree: encode/decode stage_size instead

end-offset may risk overflow the node_offset_t, but stage_size will not.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/stages/item_iterator_stage.h
src/crimson/os/seastore/onode_manager/staged-fltree/stages/sub_items_stage.h