summaryrefslogtreecommitdiffstats
path: root/src/crimson/tools/store_nbd/tm_driver.cc
diff options
context:
space:
mode:
authorZhang Song <zhangsong02@qianxin.com>2024-04-03 10:01:59 +0200
committerZhang Song <zhangsong02@qianxin.com>2024-04-03 10:01:59 +0200
commit870441bb0c02992923ac6e0b6373b6d3770b470b (patch)
tree162794885ac171bb2d10702a04c6872942c9c90c /src/crimson/tools/store_nbd/tm_driver.cc
parentMerge pull request #56509 from rhcs-dashboard/replace-table-panel-grafana (diff)
downloadceph-870441bb0c02992923ac6e0b6373b6d3770b470b.tar.xz
ceph-870441bb0c02992923ac6e0b6373b6d3770b470b.zip
crimson/common/interruptible_future: add discard_result
Signed-off-by: Zhang Song <zhangsong02@qianxin.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 01658c4f063..967a46ccd45 100644
--- a/src/crimson/tools/store_nbd/tm_driver.cc
+++ b/src/crimson/tools/store_nbd/tm_driver.cc
@@ -28,7 +28,7 @@ seastar::future<> TMDriver::write(
[this, offset, &ptr](auto& t)
{
return tm->remove(t, offset
- ).si_then([](auto){}).handle_error_interruptible(
+ ).discard_result().handle_error_interruptible(
crimson::ct_error::enoent::handle([](auto) { return seastar::now(); }),
crimson::ct_error::pass_further_all{}
).si_then([this, offset, &t, &ptr] {