]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/record_submitter: refactor JournalAllocator::write()
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 16 Jul 2024 02:36:57 +0000 (10:36 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 5 Aug 2024 03:14:06 +0000 (11:14 +0800)
commit6c4e50a8bf08da3f04ddf26534e7b14b1d765ec7
tree70a8076e75928742def393dfb215cb52c92a27e6
parent12f98a23598b260f4d807db1a0d760b979c68c9d
crimson/os/seastore/record_submitter: refactor JournalAllocator::write()

Decouple get_written_to() so it can be queried upon writes.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/journal/circular_journal_space.cc
src/crimson/os/seastore/journal/circular_journal_space.h
src/crimson/os/seastore/journal/record_submitter.cc
src/crimson/os/seastore/journal/record_submitter.h
src/crimson/os/seastore/journal/segment_allocator.cc
src/crimson/os/seastore/journal/segment_allocator.h