From 6802879ffb1f663baf4814a4cfa895ab64fb200b Mon Sep 17 00:00:00 2001 From: Alex Markuze Date: Thu, 17 Apr 2025 10:32:27 +0000 Subject: [PATCH] debug fixups --- net/ceph/messenger_v2.c | 4 ++-- net/ceph/mon_client.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/ceph/messenger_v2.c b/net/ceph/messenger_v2.c index 0dbba36947689..6af2ca0e39270 100644 --- a/net/ceph/messenger_v2.c +++ b/net/ceph/messenger_v2.c @@ -1495,7 +1495,7 @@ static int prepare_client_ident(struct ceph_connection *con) con->v2.client_cookie); } - dout("%s con %p my_addr %s/%u peer_addr %s/%u global_id %llu global_seq %llu features 0x%llx required_features 0x%llx cookie 0x%llx\n", + dout("con %p my_addr %s/%u peer_addr %s/%u global_id %llu global_seq %llu features 0x%llx required_features 0x%llx cookie 0x%llx\n", con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), ceph_pr_addr(&con->peer_addr), le32_to_cpu(con->peer_addr.nonce), global_id, con->v2.global_seq, client->supported_features, @@ -2186,7 +2186,7 @@ static int process_banner_payload(struct ceph_connection *con) ceph_decode_64_safe(&p, end, server_feat, bad); ceph_decode_64_safe(&p, end, server_req_feat, bad); - dout("%s con %p server_feat 0x%llx server_req_feat 0x%llx\n", + dout("con %p server_feat 0x%llx server_req_feat 0x%llx\n", con, server_feat, server_req_feat); if (req_feat & ~server_feat) { diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c index b936bcb11ac24..0b476ab65487a 100644 --- a/net/ceph/mon_client.c +++ b/net/ceph/mon_client.c @@ -421,7 +421,7 @@ static bool __ceph_monc_want_map(struct ceph_mon_client *monc, int sub, __le64 start = cpu_to_le64(epoch); u8 flags = !continuous ? CEPH_SUBSCRIBE_ONETIME : 0; - dout("%s %s epoch %u continuous %d\n", ceph_sub_str[sub], epoch, + dout("%s epoch %u continuous %d\n", ceph_sub_str[sub], epoch, continuous); if (monc->subs[sub].want && @@ -457,7 +457,7 @@ EXPORT_SYMBOL(ceph_monc_want_map); static void __ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch) { - dout("%s %s epoch %u\n", ceph_sub_str[sub], epoch); + dout("%s epoch %u\n", ceph_sub_str[sub], epoch); if (monc->subs[sub].want) { if (monc->subs[sub].item.flags & CEPH_SUBSCRIBE_ONETIME) -- 2.39.5