pnfs/filelayout: add tracepoint to getdeviceinfo
authorOlga Kornievskaia <kolga@netapp.com>
Fri, 26 Jan 2024 18:04:16 +0000 (13:04 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 28 Feb 2024 21:18:19 +0000 (16:18 -0500)
commit47f7c956327ff4ff4ddf1305e8571ce530157091
tree3f8f03bb03e0505fb91e57c444932ff403adfa80
parentbcac8bff90a6ee1629f90669cdb9d28fb86049b0
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>
fs/nfs/filelayout/filelayoutdev.c
fs/nfs/nfs4trace.c
fs/nfs/nfs4trace.h