]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction_manager: replace read_extents, expose pins
authorSamuel Just <sjust@redhat.com>
Sat, 27 Mar 2021 06:10:08 +0000 (23:10 -0700)
committerSamuel Just <sjust@redhat.com>
Sun, 18 Apr 2021 07:30:42 +0000 (00:30 -0700)
commit1084a7dd4ad726bda64cb474ea4ad9bed6fb6c32
treed30cca02cbf6edfed2d664088790af777db49121
parentda462b15a33235e6649f7c93ba16ce4fc3aa8a01
crimson/os/seastore/transaction_manager: replace read_extents, expose pins

read_extents in all except one case was used to read a known single extent
-- replace those users with read_extent.  store-nbd uses read_extents as
intended, but other users will need to be able to deal with zero mappings.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/collection_manager/flat_collection_manager.cc
src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_manager/seastore.h
src/crimson/os/seastore/transaction_manager.h
src/crimson/tools/store-nbd.cc
src/test/crimson/seastore/test_transaction_manager.cc