summaryrefslogtreecommitdiff
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2016-09-09 09:22:29 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-09-19 13:08:37 -0400
commit04fa2c6bb51b1bf34a49007e0cd824bde39eeac0 (patch)
tree09bcb6b824162756b0c35945833343a36df93618 /fs/nfs/internal.h
parentad0849a7efc3bebbb5b9385225085abdae3911b0 (diff)
downloadlinux-rpi-04fa2c6bb51b1bf34a49007e0cd824bde39eeac0.tar.gz
linux-rpi-04fa2c6bb51b1bf34a49007e0cd824bde39eeac0.tar.bz2
linux-rpi-04fa2c6bb51b1bf34a49007e0cd824bde39eeac0.zip
NFS pnfs data server multipath session trunking
Try all multipath addresses for a data server. The first address that successfully connects and creates a session is the DS mount address. All subsequent addresses are tested for session trunking and added as aliases. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 74935a19e4bf..fd82bed39ed4 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -572,6 +572,9 @@ extern int nfs40_walk_client_list(struct nfs_client *clp,
extern int nfs41_walk_client_list(struct nfs_client *clp,
struct nfs_client **result,
struct rpc_cred *cred);
+extern int nfs4_test_session_trunk(struct rpc_clnt *,
+ struct rpc_xprt *,
+ void *);
static inline struct inode *nfs_igrab_and_active(struct inode *inode)
{