• J. Bruce Fields's avatar
    nfsd4: fix forechannel attribute negotiation · 55c760cf
    J. Bruce Fields authored
    Negotiation of the 4.1 session forechannel attributes is a mess.  Fix:
    
    	- Move it all into check_forechannel_attrs instead of spreading
    	  it between that, alloc_session, and init_forechannel_attrs.
    	- set a minimum "slotsize" so that our drc memory limits apply
    	  even for small maxresponsesize_cached.  This also fixes some
    	  bugs when slotsize becomes <= 0.
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    55c760cf
nfs4state.c 132 KB