diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-10-17 09:49:45 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-11-03 21:28:45 -0500 |
commit | 52f98f1a2ddd2bb561f2c7e3b19a81d816a63118 (patch) | |
tree | 0b79c0535d80b1e96739ee15fd4947ed4ff75cf0 /fs/nfs/nfs3client.c | |
parent | c6eb58435b98bd843d3179664a0195ff25adb2c3 (diff) | |
download | linux-riscv-52f98f1a2ddd2bb561f2c7e3b19a81d816a63118.tar.gz linux-riscv-52f98f1a2ddd2bb561f2c7e3b19a81d816a63118.tar.bz2 linux-riscv-52f98f1a2ddd2bb561f2c7e3b19a81d816a63118.zip |
NFS/pnfs: Separate NFSv3 DS and MDS traffic
If a NFSv3 server is being used as both a DS and as a regular NFSv3 server,
we may want to keep the IO traffic on a separate TCP connection, since
it will typically have very different timeout characteristics.
This patch therefore sets up a flag to separate the two modes of operation
for the nfs_client.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs3client.c')
-rw-r--r-- | fs/nfs/nfs3client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs3client.c b/fs/nfs/nfs3client.c index 793fa4273edb..223904bc40a7 100644 --- a/fs/nfs/nfs3client.c +++ b/fs/nfs/nfs3client.c @@ -109,6 +109,7 @@ struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, __set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); __set_bit(NFS_CS_NOPING, &cl_init.init_flags); + __set_bit(NFS_CS_DS, &cl_init.init_flags); /* Use the MDS nfs_client cl_ipaddr. */ nfs_init_timeout_values(&ds_timeout, ds_proto, ds_timeo, ds_retrans); |