kernel_optimize_test/include/linux/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
..
cache.h knfsd: reply cache cleanups 2009-05-27 14:14:02 -04:00
const.h
debug.h
export.h switch rqst_exp_parent() 2009-06-11 21:36:00 -04:00
Kbuild NFSD: Strip __KERNEL__ testing from unexported header files. 2008-04-23 16:13:41 -04:00
nfsd.h nfsd4: allow nfs4 state startup to fail 2009-09-15 20:49:33 -04:00
nfsfh.h nfsd: support ext4 i_version 2009-04-29 11:35:49 -04:00
state.h nfsd41: Backchannel: Setup sequence information 2009-09-15 20:49:56 -04:00
stats.h Fix a build warning about leaking CONFIG_NFSD to userspace. 2009-03-27 19:48:36 -04:00
syscall.h headers_check fix: nfsd/syscall.h 2009-01-30 23:30:42 +05:30
xdr3.h NFSD: Path name length signage in nfsd request argument structures 2008-02-01 16:42:03 -05:00
xdr4.h nfsd41: replace page based DRC with buffer based DRC 2009-09-01 22:24:06 -04:00
xdr.h NFSD: Path name length signage in nfsd request argument structures 2008-02-01 16:42:03 -05:00