]> www.infradead.org Git - users/hch/misc.git/commit
nfsd: add tracepoint to nfsd_readdir
authorJeff Layton <jlayton@kernel.org>
Sat, 3 May 2025 19:59:28 +0000 (15:59 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 11 May 2025 23:48:34 +0000 (19:48 -0400)
commita91bfc4571b4f15f3b01e3aa4df53db73622de15
tree711377bca4e89163f41f9f4ac4d3a9e2060ac18b
parentb52f2a79fb39eeb1f23d8932cf6692dadf6c9647
nfsd: add tracepoint to nfsd_readdir

Observe the start of NFS READDIR operations.

The NFS READDIR's count argument can be interesting when tuning a
client's readdir behavior.

However, the count argument is not passed to nfsd_readdir(). To
properly capture the count argument, this tracepoint must appear in
each proc function before the nfsd_readdir() call.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfsproc.c
fs/nfsd/trace.h