]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/journal: fix updates to journal seq head and target
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 8 Nov 2021 03:52:50 +0000 (11:52 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 9 Nov 2021 01:45:54 +0000 (09:45 +0800)
commit9fbc6957af28d0521ac926322e9c96a3024a95bb
tree377076dd135321b0a1e94e1e6cd85b86e07433d5
parentc6b3b92fcfeaf573c78703d1cc98fa9cae3923cb
crimson/os/seastore/journal: fix updates to journal seq head and target

* update journal sequences at the write boundary;
* update journal head to the sequence of write end;

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