]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: add Scanner to scan extents
authorXuehan Xu <xxhdx1985126@gmail.com>
Mon, 19 Jul 2021 07:38:12 +0000 (15:38 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Wed, 8 Sep 2021 03:03:00 +0000 (11:03 +0800)
commitc239b5d1afe587aa8a8a13e9a7fe8b0ba986a686
treeefcff0a1da8e5d19f69e19a3199489152065f095
parent5e41ad6c02e73a106d55637441cf5a1377b9ec0e
crimson/os/seastore: add Scanner to scan extents

As there will be two kinds of segments to be scanned, those created by the journal
and those created by the extent placement manager. We need a common module to scan
extents of both of these two kinds of segments

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
14 files changed:
src/crimson/os/seastore/CMakeLists.txt
src/crimson/os/seastore/journal.cc
src/crimson/os/seastore/journal.h
src/crimson/os/seastore/scanner.cc [new file with mode: 0644]
src/crimson/os/seastore/scanner.h [new file with mode: 0644]
src/crimson/os/seastore/seastore.cc
src/crimson/os/seastore/seastore_types.h
src/crimson/os/seastore/segment_cleaner.cc
src/crimson/os/seastore/segment_cleaner.h
src/crimson/os/seastore/transaction_manager.cc
src/crimson/os/seastore/transaction_manager.h
src/test/crimson/seastore/test_btree_lba_manager.cc
src/test/crimson/seastore/test_seastore_journal.cc
src/test/crimson/seastore/transaction_manager_test_state.h