@@ -2208,6 +2208,11 @@ static int client_info_show(struct seq_file *m, void *v)
clp = container_of(nc, struct nfs4_client, cl_nfsdfs);
memcpy(&clid, &clp->cl_clientid, sizeof(clid));
seq_printf(m, "clientid: %llx\n", clid);
+ seq_printf(m, "address: %pISpc\n", (struct sockaddr *)&clp->cl_addr);
+ seq_printf(m, "name: ");
+ seq_escape_mem(m, clp->cl_name.data, clp->cl_name.len,
+ ESCAPE_NP|ESCAPE_HEX|ESCAPE_NOHIGH, NULL);
+ seq_printf(m, "\nminor version: %d\n", clp->cl_minorversion);
drop_client(clp);
return 0;
From: "J. Bruce Fields" <bfields@redhat.com> Add ip address, full client-provided identifier, and minor version. There's much more that could possibly be useful but this is a start. As with open owners, client identifiers are opaque binary data, but some client happen to include some useful information in ascii. --- fs/nfsd/nfs4state.c | 5 +++++ 1 file changed, 5 insertions(+)