android_kernel_msm-6.1_noth.../include/linux/sunrpc
Andy Adamson 2f425878b6 nfsd: don't use the deferral service, return NFS4ERR_DELAY
On an NFSv4.1 server cache miss that causes an upcall, NFS4ERR_DELAY will be
returned. It is up to the NFSv4.1 client to resend only the operations that
have not been processed.

Initialize rq_usedeferral to 1 in svc_process(). It sill be turned off in
nfsd4_proc_compound() only when NFSv4.1 Sessions are used.

Note: this isn't an adequate solution on its own. It's acceptable as a way
to get some minimal 4.1 up and working, but we're going to have to find a
way to avoid returning DELAY in all common cases before 4.1 can really be
considered ready.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: reverse rq_nodeferral negative logic]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[sunrpc: initialize rq_usedeferral]
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-04-03 17:41:12 -07:00
..
auth.h NFSv4: Reintroduce machine creds 2008-04-19 16:54:56 -04:00
auth_gss.h net: remove CVS keywords 2008-06-11 21:00:38 -07:00
cache.h svcrpc: move unused field from cache_deferred_req 2008-04-23 16:13:37 -04:00
clnt.h rpc: pass target name down to rpc level on callbacks 2008-12-23 16:17:40 -05:00
debug.h
gss_api.h net: remove CVS keywords 2008-06-11 21:00:38 -07:00
gss_asn1.h
gss_err.h
gss_krb5.h gss_krb5: create a define for token header size and clean up ptr location 2008-06-23 13:47:25 -04:00
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h
rpc_pipe_fs.h rpc: add an rpc_pipe_open method 2008-12-23 16:08:32 -05:00
rpc_rdma.h
sched.h rpc: minor cleanup of scheduler callback code 2008-07-09 12:09:14 -04:00
stats.h
svc.h nfsd: don't use the deferral service, return NFS4ERR_DELAY 2009-04-03 17:41:12 -07:00
svc_rdma.h svcrdma: Modify the RPC recv path to use FRMR when available 2008-10-06 14:46:01 -05:00
svc_xprt.h SUNRPC: Clean up static inline functions in svc_xprt.h 2009-03-18 18:13:28 -04:00
svcauth.h IPv6 support for NFS server export caches 2008-04-23 16:13:36 -04:00
svcauth_gss.h nfsd: pass client principal name in rsc downcall 2008-12-23 16:17:15 -05:00
svcsock.h NLM: Remove unused argument from svc_addsock() function 2008-10-04 17:12:27 -04:00
timer.h
types.h
xdr.h nfs: replace uses of __constant_{endian} 2009-03-18 17:30:51 -04:00
xprt.h sunrpc: get rid of rpc_rqst.rq_bufsize 2008-12-23 16:06:13 -05:00
xprtrdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00
xprtsock.h