SUNRPC: Add a helper to switch the transport of an rpc_clnt
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 17 Oct 2013 18:12:23 +0000 (14:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 19:21:32 +0000 (15:21 -0400)
commit40b00b6b17c412ff9ff28631250d32ee29ff0006
treea9c9b6e3493102dae543066c4b7d4fca0bc26c7f
parentd746e54522e52275865ca23917c16b3fdc226e51
SUNRPC: Add a helper to switch the transport of an rpc_clnt

Add an RPC client API to redirect an rpc_clnt's transport from a
source server to a destination server during a migration event.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
[ cel: forward ported to 3.12 ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c