summaryrefslogtreecommitdiffstats
path: root/src/crimson/tools/store_nbd/tm_driver.cc
diff options
context:
space:
mode:
authorXuehan Xu <xxhdx1985126@gmail.com>2023-05-08 10:15:55 +0200
committerXuehan Xu <xxhdx1985126@gmail.com>2023-05-09 07:57:45 +0200
commit33b56a04d51443f5f035bfc267da16d4a5dfe28c (patch)
tree99aa27fff1d4fe387ba2965914bba987c24adc19 /src/crimson/tools/store_nbd/tm_driver.cc
parentcrimson/os/seastore/cache: add comment about backref_extent_entry_t (diff)
downloadceph-33b56a04d51443f5f035bfc267da16d4a5dfe28c.tar.xz
ceph-33b56a04d51443f5f035bfc267da16d4a5dfe28c.zip
crimson/tools/store_nbd: read logical extents via
TransactionManager::read_pin() Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Diffstat (limited to 'src/crimson/tools/store_nbd/tm_driver.cc')
-rw-r--r--src/crimson/tools/store_nbd/tm_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crimson/tools/store_nbd/tm_driver.cc b/src/crimson/tools/store_nbd/tm_driver.cc
index 310e5ed00ca..bd216fd58ec 100644
--- a/src/crimson/tools/store_nbd/tm_driver.cc
+++ b/src/crimson/tools/store_nbd/tm_driver.cc
@@ -71,7 +71,7 @@ TMDriver::read_extents_ret TMDriver::read_extents(
"read_extents: get_extent {}~{}",
pin->get_val(),
pin->get_length());
- return tm->pin_to_extent<TestBlock>(
+ return tm->read_pin<TestBlock>(
t,
std::move(pin)
).si_then([&ret](auto ref) mutable {