Skip to content

Commit 93a2e7e

Browse files
chenhanxiaogregkh
authored andcommitted
NFS: trace: show TIMEDOUT instead of 0x6e
[ Upstream commit cef4823 ] __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> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Stable-dep-of: c6c209ceb87f ("NFSD: Remove NFSERR_EAGAIN") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 21f8bc5 commit 93a2e7e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/trace/misc/nfs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ TRACE_DEFINE_ENUM(NFSERR_JUKEBOX);
5252
{ NFSERR_IO, "IO" }, \
5353
{ NFSERR_NXIO, "NXIO" }, \
5454
{ ECHILD, "CHILD" }, \
55+
{ ETIMEDOUT, "TIMEDOUT" }, \
5556
{ NFSERR_EAGAIN, "AGAIN" }, \
5657
{ NFSERR_ACCES, "ACCES" }, \
5758
{ NFSERR_EXIST, "EXIST" }, \

0 commit comments

Comments
 (0)