commit | 62aee0e3028614588a14e19979cd3f7b97948505 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Tue Nov 29 10:52:08 2016 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Tue Nov 29 16:45:44 2016 -0500 |
tree | 4378991dc23fe5eb5fed1864136621d422978cf7 | |
parent | e5517c2a5a49ed5e99047008629f1cd60246ea0e [diff] |
xprtrdma: Cap size of callback buffer resources When the inline threshold size is set to large values (say, 32KB) any NFSv4.1 CB request from the server gets a reply with status NFS4ERR_RESOURCE. Looks like there are some upper layer assumptions about the maximum size of a reply (for example, in process_op). Cap the size of the NFSv4 client's reply resources at a page. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>