This commit is added to fix the following error.
"void seastar::internal::future_base::do_wait(): Assertion thread failed."
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
}
seastar::future<> tear_down_fut() final {
- rbm_manager->close().unsafe_get();
- device->close().unsafe_get();
+ co_await rbm_manager->close().handle_error(
+ crimson::ct_error::assert_all{});
+ co_await device->close().handle_error(
+ crimson::ct_error::assert_all{});
rbm_manager.reset();
device.reset();
- return seastar::now();
+ co_return;
}
auto mkfs() {