]> git.karo-electronics.de Git - linux-beck.git/commit
nfs4: clnt: respect noresvport when establishing connections to DSes
authorTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Mon, 13 Jun 2016 17:57:35 +0000 (19:57 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 19 Jul 2016 20:23:25 +0000 (16:23 -0400)
commit3fc75f12089eab6bf3f5350a5f760f241060bd5d
tree6118e3a3f86949e9f199a51b033d26c9e6559868
parentd9c0ce0e45723a4924d22ac2e5e13c2dede76cad
nfs4: clnt: respect noresvport when establishing connections to DSes

result:

$ mount -o vers=4.1 dcache-lab007:/ /pnfs
$ cp /etc/profile /pnfs
tcp        0      0 131.169.185.68:1005     131.169.191.141:32049   ESTABLISHED
tcp        0      0 131.169.185.68:751      131.169.191.144:2049    ESTABLISHED
$

$ mount -o vers=4.1,noresvport dcache-lab007:/ /pnfs
$ cp /etc/profile /pnfs
tcp        0      0 131.169.185.68:34894    131.169.191.141:32049   ESTABLISHED
tcp        0      0 131.169.185.68:35722    131.169.191.144:2049    ESTABLISHED
$

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/internal.h
fs/nfs/nfs4client.c
fs/nfs/pnfs_nfs.c