From: Kefu Chai Date: Thu, 17 Jun 2021 05:26:14 +0000 (+0800) Subject: crimson/tools/store_nbd: drop unnecessary seastar::now() X-Git-Tag: v17.1.0~1619^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e4288b68e6020aa99c67410bcf53e3882e02139a;p=ceph.git crimson/tools/store_nbd: drop unnecessary seastar::now() the body of handle_exception() is a synchronous operation, there is no need to return seastar::now() here. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/tools/store_nbd/store-nbd.cc b/src/crimson/tools/store_nbd/store-nbd.cc index 0069a79049a9..39b203b72177 100644 --- a/src/crimson/tools/store_nbd/store-nbd.cc +++ b/src/crimson/tools/store_nbd/store-nbd.cc @@ -449,7 +449,6 @@ void NBDHandler::run() output.close()); }).discard_result().handle_exception([](auto e) { logger().error("NBDHandler::run saw exception {}", e); - return seastar::now(); }); }); });