]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/cache: move committing existing blocks to prepare_record()
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 24 Dec 2024 02:29:42 +0000 (10:29 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 24 Dec 2024 08:32:28 +0000 (16:32 +0800)
commit93df0b3e32c5b416fab9da94285b70955db9ee18
treeb027ccd56ce6583d483b862721112b559d665955
parent4a08c37da5603d4c65033bf33603d5f402f1de81
crimson/os/seastore/cache: move committing existing blocks to prepare_record()

So the 2 steps of remapping are atomically committed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
src/crimson/os/seastore/cache.cc