linux-kernel-test/include/linux/nfsd
Andy Adamson 557ce2646e nfsd41: replace page based DRC with buffer based DRC
Use NFSD_SLOT_CACHE_SIZE size buffers for sessions DRC instead of holding nfsd
pages in cache.

Connectathon testing has shown that 1024 bytes for encoded compound operation
responses past the sequence operation is sufficient, 512 bytes is a little too
small. Set NFSD_SLOT_CACHE_SIZE to 1024.

Allocate memory for the session DRC in the CREATE_SESSION operation
to guarantee that the memory resource is available for caching responses.
Allocate each slot individually in preparation for slot table size negotiation.

Remove struct nfsd4_cache_entry and helper functions for the old page-based
DRC.

The iov_len calculation in nfs4svc_encode_compoundres is now always
correct.  Replay is now done in nfsd4_sequence under the state lock, so
the session ref count is only bumped on non-replay. Clean up the
nfs4svc_encode_compoundres session logic.

The nfsd4_compound_state statp pointer is also not used.
Remove nfsd4_set_statp().

Move useful nfsd4_cache_entry fields into nfsd4_slot.

Signed-off-by: Andy Adamson <andros@netapp.com
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-09-01 22:24:06 -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.h nfsd41: hange from page to memory based drc limits 2009-07-28 14:30:05 -04:00
nfsfh.h nfsd: support ext4 i_version 2009-04-29 11:35:49 -04:00
state.h nfsd41: replace page based DRC with buffer based DRC 2009-09-01 22:24:06 -04:00
stats.h Fix a build warning about leaking CONFIG_NFSD to userspace. 2009-03-27 19:48:36 -04:00
syscall.h
xdr3.h
xdr4.h nfsd41: replace page based DRC with buffer based DRC 2009-09-01 22:24:06 -04:00
xdr.h