]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4b4ecc2b71c8f1430f09ef097228f75e3666231
treeb76eeaf2ae9a6fb7669a4e15693fefb7e7f75899
parent2bfb3e319f312a25eaea190d513d6e3fa3692a4e
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