From f7504b29c72cf61e6ae7c9c66e49e3c0a697f6c4 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 23 Jul 2024 21:37:29 -0700 Subject: [PATCH] crimson/osd/pg: convert PG::handle_rep_op to logging macros Signed-off-by: Samuel Just --- src/crimson/osd/pg.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index f4551e04b30e2..21b1e5db66a57 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -1439,7 +1439,8 @@ void PG::update_stats(const pg_stat_t &stat) { PG::interruptible_future<> PG::handle_rep_op(Ref req) { - logger().debug("{}: {}", __func__, *req); + LOG_PREFIX(PG::handle_rep_op); + DEBUGDPP("{}", *this, *req); if (can_discard_replica_op(*req)) { return seastar::now(); } @@ -1458,7 +1459,7 @@ PG::interruptible_future<> PG::handle_rep_op(Ref req) !txn.empty(), txn, false); - logger().debug("PG::handle_rep_op: do_transaction..."); + DEBUGDPP("{} do_transaction", *this, *req); return interruptor::make_interruptible(shard_services.get_store().do_transaction( coll_ref, std::move(txn))).then_interruptible( [req, lcod=peering_state.get_info().last_complete, this] { -- 2.39.5