summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2024-01-26 13:04:16 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-02-28 16:18:19 -0500
commit47f7c956327ff4ff4ddf1305e8571ce530157091 (patch)
tree3f8f03bb03e0505fb91e57c444932ff403adfa80 /fs/nfs/nfs4trace.c
parentbcac8bff90a6ee1629f90669cdb9d28fb86049b0 (diff)
pnfs/filelayout: add tracepoint to getdeviceinfo
While decoding filelayout getdeviceinfo received, print out the information about the location of data servers (IPs). Generic getdeviceinfo tracepoints prints the MDS's ip for the dstaddr. In this patch, separate the MDS's address from the DS's addresses. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4trace.c')
-rw-r--r--fs/nfs/nfs4trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4trace.c b/fs/nfs/nfs4trace.c
index d9ac556bebcf..d22c6670f770 100644
--- a/fs/nfs/nfs4trace.c
+++ b/fs/nfs/nfs4trace.c
@@ -28,4 +28,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_pagelist);
EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_read_error);
EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_write_error);
EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_commit_error);
+
+EXPORT_TRACEPOINT_SYMBOL_GPL(fl_getdevinfo);
#endif