linux/fs/nfsd
Ricardo Labiaga 2a1d1b5938 nfsd41: Backchannel: Setup sequence information
Follows the model used by the NFS client.  Setup the RPC prepare and done
function pointers so that we can populate the sequence information if
minorversion == 1.  rpc_run_task() is then invoked directly just like
existing NFS client operations do.

nfsd4_cb_prepare() determines if the sequence information needs to be setup.
If the slot is in use, it adds itself to the wait queue.

nfsd4_cb_done() wakes anyone sleeping on the callback channel wait queue
after our RPC reply has been received.  It also sets the task message
result pointer to NULL to clearly indicate we're done using it.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
[define and initialize cl_cb_seq_nr here]
[pulled out unused defintion of nfsd4_cb_done]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-09-15 20:49:56 -04:00
..
auth.c
auth.h
export.c NFSd: Fix filehandle leak in exp_pseudoroot() and nfsd4_path() 2009-09-03 16:57:57 -04:00
Kconfig
lockd.c
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c nfsd: fix leak on error in nfsv3 readdir 2009-09-04 15:48:00 -04:00
nfs4acl.c nfsd4: remove ACE4_IDENTIFIER_GROUP flag from GROUP@ entry 2009-08-27 17:35:41 -04:00
nfs4callback.c nfsd41: Backchannel: Setup sequence information 2009-09-15 20:49:56 -04:00
nfs4idmap.c SUNRPC: Allow the cache_detail to specify alternative upcall mechanisms 2009-08-09 15:14:29 -04:00
nfs4proc.c NFSD: Fix a bug in the NFSv4 'supported attrs' mandatory attribute 2009-09-01 20:00:17 -04:00
nfs4recover.c
nfs4state.c nfsd41: Backchannel: Setup sequence information 2009-09-15 20:49:56 -04:00
nfs4xdr.c NFSd: Fix filehandle leak in exp_pseudoroot() and nfsd4_path() 2009-09-03 16:57:57 -04:00
nfscache.c
nfsctl.c knfsd: Replace lock_kernel with a mutex in nfsd pool stats. 2009-08-25 12:39:37 -04:00
nfsfh.c nfsd4: filehandle leak or error exit from fh_compose() 2009-09-04 11:59:32 -04:00
nfsproc.c
nfssvc.c nfsd4: allow nfs4 state startup to fail 2009-09-15 20:49:33 -04:00
nfsxdr.c
stats.c
vfs.c NFSD: Don't hold unrefcounted creds over call to nfsd_setuser() 2009-07-03 10:21:10 -04:00