NFS: Parse and store all multipath DS addresses
authorWeston Andros Adamson <dros@netapp.com>
Tue, 31 May 2011 22:48:57 +0000 (18:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Jul 2011 17:40:27 +0000 (13:40 -0400)
commit14f9a6076f5388f3fd6341ad4b841337b28fc825
treed5c318c3956560b8b46346b494f8fa6e0724cbcc
parentc9895cb69b07a4b17d8fdae26667f9a9fba5183b
NFS: Parse and store all multipath DS addresses

This parses and stores all addresses associated with each data server,
laying the groundwork for supporting multipath to data servers.

 - Skips over addresses that cannot be parsed (ie IPv6 addrs if v6 is not
   enabled).  Only fails if none of the addresses are recognizable
 - Currently only uses the first address that parsed cleanly
 - Tested against pynfs server (modified to support multipath)

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.h
fs/nfs/nfs4filelayoutdev.c