]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/circular_bounded_journal: do not split records
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 5 Jul 2022 08:31:34 +0000 (16:31 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 6 Jul 2022 03:06:30 +0000 (11:06 +0800)
commit2aedfcae4d83934f04a92d65ba65ae7ed8606f9b
tree91ee05fd9366d9445b3e97bba08d491a74d85a3d
parent6b5e7f781b8f5c93eff0d9dcac571d5be71c54dc
crimson/os/seastore/circular_bounded_journal: do not split records

* no split record due to relative paddr resolution
* fix md_bl.substr_of(bl, 0, header.mdlength)
* maintain written_to in range [get_start_addr(), get_journal_end())

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/journal/circular_bounded_journal.cc
src/crimson/os/seastore/journal/circular_bounded_journal.h
src/test/crimson/seastore/test_cbjournal.cc