SUNRPC: new interface to force an RPC rebind
authorChuck Lever <cel@netapp.com>
Tue, 3 Jan 2006 08:55:50 +0000 (09:55 +0100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:56 +0000 (14:58 -0500)
commit35f5a422ce1af836007f811b613c440d0e348e06
tree25aac5cccce27a6ed5ebb4e161f813af2adbaf56
parent02107148349f31eee7c0fb06fd7a880df73dbd20
SUNRPC: new interface to force an RPC rebind

 We'd like to hide fields in rpc_xprt and rpc_clnt from upper layer protocols.
 Start by creating an API to force RPC rebind, replacing logic that simply
 sets cl_port to zero.

 Test-plan:
 Destructive testing (unplugging the network temporarily).  Connectathon
 with UDP and TCP.  NFSv2/3 and NFSv4 mounting should be carefully checked.
 Probably need to rig a server where certain services aren't running, or
 that returns an error for some typical operation.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/host.c
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c