]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: simplify journal tails 47206/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 21 Jul 2022 09:16:50 +0000 (17:16 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 22 Jul 2022 03:16:48 +0000 (11:16 +0800)
commit4fdc95b39ffe31c0301eeeef0e14b802638f7ec6
tree6af5dffaaf2b7dd3af2196eff7da8256e07ab8e1
parentd6d9d46cc9aa5b403ce9ee5af74f0a2e72bcdde9
crimson/os/seastore: simplify journal tails

* append latest dirty tail as journal delta, in order to simplify and
  drop journal_tail_committed in the cleaner.
* simplify misc journal tails into alloc_tail and dirty_tail, with
  proper renaming.
* move journal-tail recovery logic from cleaner to journal.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 files changed:
src/crimson/os/seastore/async_cleaner.cc
src/crimson/os/seastore/async_cleaner.h
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/extent_placement_manager.cc
src/crimson/os/seastore/journal/segment_allocator.cc
src/crimson/os/seastore/journal/segmented_journal.cc
src/crimson/os/seastore/journal/segmented_journal.h
src/crimson/os/seastore/seastore_types.cc
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