]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4/pNFS: Use connections to a DS that are all of the same protocol family
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 6 Nov 2020 21:58:53 +0000 (16:58 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:53 +0000 (14:05 -0500)
commitc4e2867458ccc32fb37b5c4c68c1a5dbf86ac546
tree3bc4c1a0f0c20f844909915d60dfa46c5ec479af
parent0051e4d68c60b1beb7a8957883b3f678e3ad1aab
NFSv4/pNFS: Use connections to a DS that are all of the same protocol family

If the pNFS metadata server advertises multiple addresses for the same
data server, we should try to connect to just one protocol family and
transport type on the assumption that homogeneity will improve performance.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs_nfs.c