Message ID | 20240718070640.1913-1-chenhx.fnst@fujitsu.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | NFS: trace: show TIMEDOUT instead of 0x6e | expand |
On Thu, 2024-07-18 at 15:06 +0800, Chen Hanxiao wrote: > __nfs_revalidate_inode may return ETIMEDOUT. > > print symbol of ETIMEDOUT in nfs trace: > > before: > cat-5191 [005] 119.331127: nfs_revalidate_inode_exit: error=-110 > (0x6e) > > after: > cat-1738 [004] 44.365509: nfs_revalidate_inode_exit: error=-110 > (TIMEDOUT) > > Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com> > --- > include/trace/misc/nfs.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/trace/misc/nfs.h b/include/trace/misc/nfs.h > index 7b221d51133a..c82233e950ac 100644 > --- a/include/trace/misc/nfs.h > +++ b/include/trace/misc/nfs.h > @@ -51,6 +51,7 @@ TRACE_DEFINE_ENUM(NFSERR_JUKEBOX); > { NFSERR_IO, "IO" }, \ > { NFSERR_NXIO, "NXIO" }, \ > { ECHILD, "CHILD" }, \ > + { ETIMEDOUT, "TIMEDOUT" }, \ > { NFSERR_EAGAIN, "AGAIN" }, \ > { NFSERR_ACCES, "ACCES" }, \ > { NFSERR_EXIST, "EXIST" }, \ Reviewed-by: Jeff Layton <jlayton@kernel.org>
On Thu, Jul 18, 2024 at 03:06:16PM +0800, Chen Hanxiao wrote: > __nfs_revalidate_inode may return ETIMEDOUT. > > print symbol of ETIMEDOUT in nfs trace: > > before: > cat-5191 [005] 119.331127: nfs_revalidate_inode_exit: error=-110 (0x6e) > > after: > cat-1738 [004] 44.365509: nfs_revalidate_inode_exit: error=-110 (TIMEDOUT) > > Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com> > --- > include/trace/misc/nfs.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/trace/misc/nfs.h b/include/trace/misc/nfs.h > index 7b221d51133a..c82233e950ac 100644 > --- a/include/trace/misc/nfs.h > +++ b/include/trace/misc/nfs.h > @@ -51,6 +51,7 @@ TRACE_DEFINE_ENUM(NFSERR_JUKEBOX); > { NFSERR_IO, "IO" }, \ > { NFSERR_NXIO, "NXIO" }, \ > { ECHILD, "CHILD" }, \ > + { ETIMEDOUT, "TIMEDOUT" }, \ > { NFSERR_EAGAIN, "AGAIN" }, \ > { NFSERR_ACCES, "ACCES" }, \ > { NFSERR_EXIST, "EXIST" }, \ > -- > 2.39.1 > Applied to nfsd-next (for v6.12). Thanks!
diff --git a/include/trace/misc/nfs.h b/include/trace/misc/nfs.h index 7b221d51133a..c82233e950ac 100644 --- a/include/trace/misc/nfs.h +++ b/include/trace/misc/nfs.h @@ -51,6 +51,7 @@ TRACE_DEFINE_ENUM(NFSERR_JUKEBOX); { NFSERR_IO, "IO" }, \ { NFSERR_NXIO, "NXIO" }, \ { ECHILD, "CHILD" }, \ + { ETIMEDOUT, "TIMEDOUT" }, \ { NFSERR_EAGAIN, "AGAIN" }, \ { NFSERR_ACCES, "ACCES" }, \ { NFSERR_EXIST, "EXIST" }, \
__nfs_revalidate_inode may return ETIMEDOUT. print symbol of ETIMEDOUT in nfs trace: before: cat-5191 [005] 119.331127: nfs_revalidate_inode_exit: error=-110 (0x6e) after: cat-1738 [004] 44.365509: nfs_revalidate_inode_exit: error=-110 (TIMEDOUT) Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com> --- include/trace/misc/nfs.h | 1 + 1 file changed, 1 insertion(+)