android_kernel_motorola_sm6225/include/linux/nfsd
Andy Adamson 38eb76a54d nfsd41: Add a create session replay cache
Replace the nfs4_client cl_seqid field with a single struct nfs41_slot used
for the create session replay cache.

The CREATE_SESSION slot sets the sl_session pointer to NULL. Otherwise, the
slot and it's replay cache are used just like the session slots.

Fix unconfirmed create_session replay response by initializing the
create_session slot sequence id to 0.

A future patch will set the CREATE_SESSION cache when a SEQUENCE operation
preceeds the CREATE_SESSION operation. This compound is currently only cached
in the session slot table.

Signed-off-by: Andy Adamson<andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: use bool inuse for slot state]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: revert portion of nfsd4_set_cache_entry]
Signed-off-by: Andy Adamson <andros@netpp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-04-03 17:41:18 -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: Add a create session replay cache 2009-04-03 17:41:18 -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: create_session operation 2009-04-03 17:41:18 -07:00