• A
    nfsd41: use sv_max_mesg for forechannel max sizes · ddc04fd4
    Andy Adamson 提交于
    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: NAndy Adamson <andros@netapp.com>
    [bfields@citi.umich.edu: more documentation updates]
    Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
    ddc04fd4
nfs4state.c 109.4 KB