From 36ce6578ee83f6c341e39ae7890f922e42f05baa Mon Sep 17 00:00:00 2001 From: Amnon Hanuhov Date: Tue, 4 May 2021 16:17:04 +0300 Subject: [PATCH] crimson/osd: Use crimson::net::make_message() in PGRecovery Signed-off-by: Amnon Hanuhov --- src/crimson/osd/pg_recovery.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crimson/osd/pg_recovery.cc b/src/crimson/osd/pg_recovery.cc index 12783eb802374..76e02d32784ea 100644 --- a/src/crimson/osd/pg_recovery.cc +++ b/src/crimson/osd/pg_recovery.cc @@ -403,7 +403,7 @@ void PGRecovery::request_replica_scan( const hobject_t& end) { logger().debug("{}: target.osd={}", __func__, target.osd); - auto msg = make_message( + auto msg = crimson::net::make_message( MOSDPGScan::OP_SCAN_GET_DIGEST, pg->get_pg_whoami(), pg->get_osdmap_epoch(), @@ -488,7 +488,7 @@ void PGRecovery::update_peers_last_backfill( if (const pg_info_t& pinfo = pg->get_peering_state().get_peer_info(bt); new_last_backfill > pinfo.last_backfill) { pg->get_peering_state().update_peer_last_backfill(bt, new_last_backfill); - auto m = make_message( + auto m = crimson::net::make_message( pinfo.last_backfill.is_max() ? MOSDPGBackfill::OP_BACKFILL_FINISH : MOSDPGBackfill::OP_BACKFILL_PROGRESS, pg->get_osdmap_epoch(), -- 2.39.5