diff options
author | Zhang Song <zhangsong02@qianxin.com> | 2024-04-03 10:01:59 +0200 |
---|---|---|
committer | Zhang Song <zhangsong02@qianxin.com> | 2024-04-03 10:01:59 +0200 |
commit | 870441bb0c02992923ac6e0b6373b6d3770b470b (patch) | |
tree | 162794885ac171bb2d10702a04c6872942c9c90c /src/crimson/tools/store_nbd/tm_driver.cc | |
parent | Merge pull request #56509 from rhcs-dashboard/replace-table-panel-grafana (diff) | |
download | ceph-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.cc | 2 |
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] { |