]> 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)
commite557d83849e68c03054addc9921ac7f338c44d94
tree3bc4c1a0f0c20f844909915d60dfa46c5ec479af
parent94bc3f0b66427ee9f3b4c3c4ad154c8aa09fc001
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