commit | 55c760cfc40d75b4d8a17d56580ec306db2ab14f | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Mon Apr 08 16:44:14 2013 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Apr 09 16:43:44 2013 -0400 |
tree | 36adf820afe85ed7644654c9f505c95cb0f774c3 | |
parent | 373cd4098a6392395af63af220d989df00b444f7 [diff] |
nfsd4: fix forechannel attribute negotiation 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: J. Bruce Fields <bfields@redhat.com>