]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1 respect server's max size in CREATE_SESSION
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 8 Mar 2017 19:39:15 +0000 (14:39 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Mar 2017 20:07:03 +0000 (16:07 -0400)
commit6651fe3aed4c1619d1e60f7547cc33a103674676
treeddc85ac2ad855814ec74dd12b2c2202fa1a6ca2e
parentcd83708a76520583cb3350fba05d3009e247a589
NFSv4.1 respect server's max size in CREATE_SESSION

Currently client doesn't respect max sizes server returns in CREATE_SESSION.
nfs4_session_set_rwsize() gets called and server->rsize, server->wsize are 0
so they never get set to the sizes returned by the server.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4client.c