nfs41: V2 adjust max_rqst_sz, max_resp_sz w.r.t to rsize, wsize
authorAlexandros Batsakis <batsakis@netapp.com>
Sat, 5 Dec 2009 18:36:55 +0000 (13:36 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 5 Dec 2009 18:36:55 +0000 (13:36 -0500)
commit2449ea2e191123729b2dc37a06fcb9d6ea7e2736
treef5b71099baefb6c550511b3d5f3da26b8c384454
parent7b183d0d432ab3525ae29511a5348ead3e790620
nfs41: V2 adjust max_rqst_sz, max_resp_sz w.r.t to rsize, wsize

The v4.1 client should take into account the desired rsize, wsize when
negotiating the max size in CREATE_SESSION. Accordingly, it should use
rsize, wsize that are smaller than the session negotiated values.

Signed-off-by: Alexandros Batsakis <batsakis@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c