]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: wrap line at 80
authorKefu Chai <kchai@redhat.com>
Wed, 16 Jun 2021 10:26:15 +0000 (18:26 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 16 Jun 2021 12:28:10 +0000 (20:28 +0800)
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operations/client_request.cc

index 9b3735bf3cf68bb00729d01a82edd71365cb92e7..637dd9d598ad7bad8c56160c01cc3f20c265d08f 100644 (file)
@@ -89,10 +89,11 @@ seastar::future<> ClientRequest::start()
           logger().debug("{} same_interval_since: {}", *this, same_interval_since);
           const bool has_pg_op = is_pg_op();
           auto interruptible_do_op =
-            interruptor::wrap_function([this, has_pg_op, pgref]() -> interruptible_future<> {
+            interruptor::wrap_function([this, has_pg_op, pgref] {
               PG &pg = *pgref;
               if (pg.can_discard_op(*m)) {
-                return osd.send_incremental_map(conn, m->get_map_epoch());
+                return interruptible_future<>(
+                  osd.send_incremental_map(conn, m->get_map_epoch()));
               }
               return with_blocking_future_interruptible<IOInterruptCondition>(
                 handle.enter(pp(pg).await_map)