NFSv4/pNFS: Store the transport type in struct nfs4_pnfs_ds_addr
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 6 Nov 2020 21:10:52 +0000 (16:10 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:53 +0000 (14:05 -0500)
commit4be78d26810bc506769773ca2f81b4de65f43fd5
tree94149c236d0914708f9b67ef8bbcfab10d88fab5
parent190c75a31fe65e311f3628bd97bd58cff50d221f
NFSv4/pNFS: Store the transport type in struct nfs4_pnfs_ds_addr

We want to enable RDMA and UDP as valid transport methods if a
GETDEVICEINFO call specifies it. Do so by adding a parser for the
netid that translates it to an appropriate argument for the RPC
transport layer.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c