kernel_optimize_test/include/linux/lockd
Chuck Lever 511d2e8855 NLM: Shrink the maximum request size of NLM4 requests
NLM version 4 requests estimate the call and reply header sizes rather
conservatively, using the very maximum size allowed in the protocol even
though Linux always uses only a small fraction of the allowable space.

Reduce the size of caller and lock arguments to conserve RPC buffer space
while XDR encoding NLM4 arguments.  Add compile-time checks to ensure the
hostname string won't overflow NLM protocol maximums.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-04-30 22:17:09 -07:00
..
bind.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
debug.h
lockd.h NLM: Shrink the maximum request size of NLM4 requests 2007-04-30 22:17:09 -07:00
nlm.h
share.h
sm_inter.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
xdr4.h
xdr.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00