ceph: print the client global id when blocklisting the sessions
PATCH 1/1 ceph: print the client global id when blocklisting the sessions
From: Xiubo Li <[email protected]>
Multiple cephfs mounts on a host is increasingly common so disambiguating messages like this is necessary and will make it easier to debug issues.
URL: https://tracker.ceph.com/issues/61590
Signed-off-by Xiubo Li <[email protected]>
--- fs/ceph/mds_client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
fs/ceph/mds_client.c +3 -1
@@ -3978,7 +3978,9 @@ static void handle_session(struct ceph_mds_session *session,/* version >= 5, flags */ ceph_decode_32_safe (&p, end, flags, bad);if (flags &CEPH_SESSION_BLOCKLISTED ) { -pr_warn ("mds%d session blocklisted\n" , session->s_mds); +pr_warn ("client.%lld mds%d session blocklisted\n" , + mdsc->fsc->client->monc.auth->global_id, + session->s_mds); blocklisted = true; } }
Signature · 1 line
2.40.1