summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorAndy Adamson2016-09-09 15:22:29 +0200
committerAnna Schumaker2016-09-19 19:08:37 +0200
commit04fa2c6bb51b1bf34a49007e0cd824bde39eeac0 (patch)
tree09bcb6b824162756b0c35945833343a36df93618 /fs/nfs/internal.h
parentNFS test session trunking with exchange id (diff)
downloadkernel-qcow2-linux-04fa2c6bb51b1bf34a49007e0cd824bde39eeac0.tar.gz
kernel-qcow2-linux-04fa2c6bb51b1bf34a49007e0cd824bde39eeac0.tar.xz
kernel-qcow2-linux-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)
{