android_kernel_motorola_sm6225/include/linux/nfsd
Andy Adamson bf864a31d5 nfsd41: non-page DRC for solo sequence responses
A session inactivity time compound (lease renewal) or a compound where the
sequence operation has sa_cachethis set to FALSE do not require any pages
to be held in the v4.1 DRC. This is because struct nfsd4_slot is already
caching the session information.

Add logic to the nfs41 server to not cache response pages for solo sequence
responses.

Return nfserr_replay_uncached_rep on the operation following the sequence
operation when sa_cachethis is FALSE.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: use cstate session in nfsd4_replay_cache_entry]
[nfsd41: rename nfsd4_no_page_in_cache]
[nfsd41 rename nfsd4_enc_no_page_replay]
[nfsd41 nfsd4_is_solo_sequence]
[nfsd41 change nfsd4_not_cached return]
Signed-off-by: Andy Adamson <andros@netapp.com>
[changed return type to bool]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41 drop parens in nfsd4_is_solo_sequence call]
Signed-off-by: Andy Adamson <andros@netapp.com>
[changed "== 0" to "!"]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-04-03 17:41:19 -07:00
..
cache.h nfsd41: DRC save, restore, and clear functions 2009-04-03 17:41:17 -07:00
const.h [PATCH] include/linux/nfsd/const.h: remove NFS_SUPER_MAGIC 2007-02-12 09:48:36 -08:00
debug.h
export.h headers_check fix: nfsd/export.h 2009-01-30 20:03:06 +05:30
Kbuild NFSD: Strip __KERNEL__ testing from unexported header files. 2008-04-23 16:13:41 -04:00
nfsd.h nfsd41: hard page limit for DRC 2009-04-03 17:41:17 -07:00
nfsfh.h nfsd4: use helper for copying filehandles for replay 2009-03-18 17:30:49 -04:00
state.h nfsd41: non-page DRC for solo sequence responses 2009-04-03 17:41:19 -07: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
xdr.h NFSD: Path name length signage in nfsd request argument structures 2008-02-01 16:42:03 -05:00
xdr3.h NFSD: Path name length signage in nfsd request argument structures 2008-02-01 16:42:03 -05:00
xdr4.h nfsd41: non-page DRC for solo sequence responses 2009-04-03 17:41:19 -07:00