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)
commita12f996d3413ae41b6c0952013cd7a11396e14eb
tree3bc4c1a0f0c20f844909915d60dfa46c5ec479af
parentc87b056e58e71ba7a3f603700618f8da9742aa29
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