aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Hanxiao <[email protected]>2024-07-18 15:06:16 +0800
committerChuck Lever <[email protected]>2024-09-01 10:04:55 -0400
commitcef48236dfe55fa266d505e8a497963a7bc5ef2a (patch)
tree2096a5cb01f4776ae0200089945770b854fe593e
parent4b84551a35e36bbed48850dc870191a13f0841fd (diff)
NFS: trace: show TIMEDOUT instead of 0x6e
__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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
-rw-r--r--include/trace/misc/nfs.h1
1 files changed, 1 insertions, 0 deletions
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" }, \