diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-05-30 06:15:58 -0400 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 14:06:34 -0500 |
commit | 30626f9c32f0ad5e2c4173f10fb4b1358bbba6ec (patch) | |
tree | aaa2365a2d206f1ab4e7b93e21193ad7085f1221 /fs/nfs/filelayout | |
parent | 1a04c6e1a26a43305fe124a0978a3e4be861af89 (diff) |
nfs41: allow LD to choose DS connection version/minor_version
flexfile layout may need to set such when making DS connections.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'fs/nfs/filelayout')
-rw-r--r-- | fs/nfs/filelayout/filelayoutdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/filelayout/filelayoutdev.c b/fs/nfs/filelayout/filelayoutdev.c index 5e4b0cea84c8..4f372e224603 100644 --- a/fs/nfs/filelayout/filelayoutdev.c +++ b/fs/nfs/filelayout/filelayoutdev.c | |||
@@ -278,7 +278,8 @@ nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx) | |||
278 | goto out_test_devid; | 278 | goto out_test_devid; |
279 | 279 | ||
280 | nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, | 280 | nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, |
281 | dataserver_retrans, | 281 | dataserver_retrans, 4, |
282 | s->nfs_client->cl_minorversion, | ||
282 | s->nfs_client->cl_rpcclient->cl_auth->au_flavor); | 283 | s->nfs_client->cl_rpcclient->cl_auth->au_flavor); |
283 | 284 | ||
284 | out_test_devid: | 285 | out_test_devid: |