• Chuck Lever's avatar
    SUNRPC: Parametrize how much of argsize should be zeroed · 103cc1fa
    Chuck Lever authored
    Currently, SUNRPC clears the whole of .pc_argsize before processing
    each incoming RPC transaction. Add an extra parameter to struct
    svc_procedure to enable upper layers to reduce the amount of each
    operation's argument structure that is zeroed by SUNRPC.
    
    The size of struct nfsd4_compoundargs, in particular, is a lot to
    clear on each incoming RPC Call. A subsequent patch will cut this
    down to something closer to what NFSv2 and NFSv3 uses.
    
    This patch should cause no behavior changes.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    103cc1fa
nfs2acl.c 9.54 KB