]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: Use crimson::net::make_message() in RecoveryBackend
authorAmnon Hanuhov <ahanukov@redhat.com>
Tue, 13 Apr 2021 12:14:31 +0000 (15:14 +0300)
committerAmnon Hanuhov <ahanukov@redhat.com>
Thu, 6 May 2021 17:22:05 +0000 (20:22 +0300)
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
src/crimson/osd/recovery_backend.cc

index b19c9fa46ae4ee7da4dc02afc24c26ab33b534d3..d49c03e33ddde6f36659c80138f975a6c033fecc 100644 (file)
@@ -72,7 +72,7 @@ void RecoveryBackend::handle_backfill_finish(
   logger().debug("{}", __func__);
   ceph_assert(!pg.is_primary());
   ceph_assert(crimson::common::local_conf()->osd_kill_backfill_at != 1);
-  auto reply = make_message<MOSDPGBackfill>(
+  auto reply = crimson::net::make_message<MOSDPGBackfill>(
     MOSDPGBackfill::OP_BACKFILL_FINISH_ACK,
     pg.get_osdmap_epoch(),
     m.query_epoch,
@@ -234,7 +234,7 @@ RecoveryBackend::handle_scan_get_digest(
   ).then_interruptible([this,
           query_epoch=m.query_epoch,
           conn=m.get_connection()] (auto backfill_interval) {
-    auto reply = make_message<MOSDPGScan>(
+    auto reply = crimson::net::make_message<MOSDPGScan>(
       MOSDPGScan::OP_SCAN_DIGEST,
       pg.get_pg_whoami(),
       pg.get_osdmap_epoch(),