NFS: Add functions to swap transports during migration recovery
authorChuck Lever <chuck.lever@oracle.com>
Thu, 17 Oct 2013 18:12:34 +0000 (14:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 19:23:07 +0000 (15:23 -0400)
commit800c06a5bf497e0587ba8382a761f31a7825e2cd
treeb76eeaf2ae9a6fb7669a4e15693fefb7e7f75899
parent32e62b7c3ef095eccbb6a8c96fddf05dacc749df
NFS: Add functions to swap transports during migration recovery

Introduce functions that can walk through an array of returned
fs_locations information and connect a transport to one of the
destination servers listed therein.

Note that NFS minor version 1 introduces "fs_locations_info" which
extends the locations array sorting criteria available to clients.
This is not supported yet.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4namespace.c