summaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2011-05-31 18:48:58 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-12 13:40:27 -0400
commit7e574f0d3911c5cc60d4d2b57fee975c462d6cd0 (patch)
tree473ec4787d8f76ae0867ef92c09223989aa6abb8 /fs/nfs/cache_lib.h
parent14f9a6076f5388f3fd6341ad4b841337b28fc825 (diff)
downloadblackbird-op-linux-7e574f0d3911c5cc60d4d2b57fee975c462d6cd0.tar.gz
blackbird-op-linux-7e574f0d3911c5cc60d4d2b57fee975c462d6cd0.zip
NFS: pnfs: loop over multipath addrs on connect
Don't just use the first addr in the multipath list - instead, loop over addresses when calling nfs4_set_ds_client() (which calls connect) until it is successful. Although this is not real multipath support, it's a quick fix to handle when an MDS sends a list of addresses for a DS and some of the addr families are unsupported or misconfigured (like no routable ipv6 addr assigned). This will attempt all paths to the DS before giving up, instead of immediately falling back to the MDS. As before, an error encountered after a successful connect() will cause all i/o to fall back to the MDS. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud