summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>2009-04-01 09:22:58 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 13:06:13 -0700
commit56632b5bff5af10eb12d7e9499b5ffcadcb7a7b2 (patch)
tree41632f7d033a791e1925a84f14488efcb9c0dd83 /net/sunrpc/xprt.c
parent7146851376861fe55c7a48ac8fc1354a5fff6cd0 (diff)
downloadop-kernel-dev-56632b5bff5af10eb12d7e9499b5ffcadcb7a7b2.zip
op-kernel-dev-56632b5bff5af10eb12d7e9499b5ffcadcb7a7b2.tar.gz
nfs41: client callback structures
Adds new list of rpc_xprt structures, and a readers/writers lock to protect the list. The list is used to preallocate resources for the backchannel during backchannel requests. Callbacks are not expected to cause significant latency, so only one callback will be allowed at this time. It also adds a pointer to the NFS callback service so that requests can be directed to it for processing. New callback members added to svc_serv. The NFSv4.1 callback service will sleep on the svc_serv->svc_cb_waitq until new callback requests arrive. The request will be queued in svc_serv->svc_cb_list. This patch adds this list, the sleep queue and spinlock to svc_serv. [nfs41: NFSv4.1 callback support] Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud