Re: NFSv4.1 session reset needs to update ->rsize and ->wsize - how???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2018-09-05 at 09:44 -0400, Olga Kornievskaia wrote:
> commit 033853325fe3bdc70819a8b97915bd3bca41d3af
> Author: Olga Kornievskaia <kolga@xxxxxxxxxx>
> Date:   Wed Mar 8 14:39:15 2017 -0500
> 
>     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@xxxxxxxxxx>
>     Signed-off-by: Anna Schumaker <Anna.Schumaker@xxxxxxxxxx>
> 

Olga, I'm confused by that patch. It appears to assume that we should
be using the CREATE_SESSION, request/response limits as default values
instead of as limits?

AFAICS, the real problem there is that nfs4_server_common_setup() is
calling nfs4_session_set_rwsize() before we actually set the r/wsize in
the call to nfs_probe_fsinfo(). No?


-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx






[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux