public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Wysochanski <dwysocha@redhat.com>
To: Bruce Fields <bfields@fieldses.org>,
	Chuck Lever III <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH v2 0/1] Add callback address and state to nfsd4 client info
Date: Mon, 17 May 2021 16:29:44 -0400	[thread overview]
Message-ID: <1621283385-24390-1-git-send-email-dwysocha@redhat.com> (raw)

For troubleshooting, it is useful to show the callback address and state
inside the nfsd4 client info.  Note the callback address and state is
also available via trace events, so use a common function and output.

Changes since v1:
- fix indents, run checkpatch (Chuck L)
- create cb_state2str() inside fs/nfsd/trace.c (Bruce F)
- rebase on Chuck v3 nfsd patches and test

Dave Wysochanski (1):
  nfsd4: Expose the callback address and state of each NFS4 client

 fs/nfsd/nfs4state.c |  2 ++
 fs/nfsd/trace.c     | 15 +++++++++++++++
 fs/nfsd/trace.h     |  9 ++-------
 3 files changed, 19 insertions(+), 7 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2021-05-17 20:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 20:29 Dave Wysochanski [this message]
2021-05-17 20:29 ` [PATCH v2 1/1] nfsd4: Expose the callback address and state of each NFS4 client Dave Wysochanski
2021-05-25 20:58   ` Bruce Fields
2021-05-25 21:48     ` Chuck Lever III
2021-05-26 18:30       ` Bruce Fields
2021-05-26 19:13         ` David Wysochanski
2021-05-26  1:32     ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621283385-24390-1-git-send-email-dwysocha@redhat.com \
    --to=dwysocha@redhat.com \
    --cc=bfields@fieldses.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox