From: Andy Adamson Date: Thu, 24 Sep 2009 01:32:21 +0000 (-0400) Subject: nfsd41: use sv_max_mesg for forechannel max sizes X-Git-Tag: v2.6.33-rc1~57^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc04fd4d5163aee9ebdb38a56c365b602e2b7b7;p=pandora-kernel.git nfsd41: use sv_max_mesg for forechannel max sizes ca_maxresponsesize and ca_maxrequest size include the RPC header. sv_max_mesg is sv_max_payolad plus a page for overhead and is used in svc_init_buffer to allocate server buffer space for both the request and reply. Note that this means we can service an RPC compound that requires ca_maxrequestsize (MAXWRITE) or ca_max_responsesize (MAXREAD) but that we do not support an RPC compound that requires both ca_maxrequestsize and ca_maxresponsesize. Signed-off-by: Andy Adamson [bfields@citi.umich.edu: more documentation updates] Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed