]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: introduce modified_region in DATA_BLOCK to keep track of modifie...
authorMyoungwon Oh <myoungwon.oh@samsung.com>
Sun, 17 Dec 2023 08:51:22 +0000 (17:51 +0900)
committerMyoungwon Oh <myoungwon.oh@samsung.com>
Fri, 5 Jan 2024 06:44:25 +0000 (15:44 +0900)
commit3ca63d79b86cec82cb33ad4fc05866e61949967d
treebb955088049f26eda3c31e7bf3eb4985050371e6
parent5307f252d6d31d49aa2a62ca0b61cb92ea46e5a2
crimson/os/seastore: introduce modified_region in DATA_BLOCK to keep track of modified region

It has a limitation to keep track of the modified region using the existing
deltas because we can not get the correct region in two cases: 1) a case where replay
is done and 2) duplicate_for_write. This commit introduces modified region
to solve the problem.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cached_extent.h
src/crimson/os/seastore/extent_placement_manager.cc
src/crimson/os/seastore/object_data_handler.cc
src/crimson/os/seastore/object_data_handler.h
src/test/crimson/seastore/test_block.cc
src/test/crimson/seastore/test_block.h