]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
seastore: read records until find invalid entry and recover variables
authormyoungwon oh <ohmyoungwon@gmail.com>
Mon, 11 Apr 2022 04:49:39 +0000 (13:49 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:31:33 +0000 (09:31 +0900)
commit3fcda5353f505fb3caa2bc13030994fd30c6c41e
tree3df877f4bd147de59f57ba3619e0658835f3e22d
parent8a8c89d9403b5d0aca3ee6e562a7ce676f2636b2
seastore: read records until find invalid entry and recover variables

To do not loss last_committed_record and written_to at shutdown,
this commit update the most recent value correctly during replay.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/journal/circular_bounded_journal.cc
src/test/crimson/seastore/test_cbjournal.cc