nfs41: Adjust max cache response size value
authorMike Sager <sager@netapp.com>
Thu, 17 Dec 2009 17:06:26 +0000 (12:06 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 10 Feb 2010 13:30:54 +0000 (08:30 -0500)
commit8e0d46e13833b06832395e7eacccae8af8743461
tree8670415c7be9a3d24e25c566b7629823cd0a38c2
parent5a51f13adf7909caec2f8182767485c30e21364e
nfs41: Adjust max cache response size value

For the CREATE_SESSION attribute ca_maxresponsesize_cached, calculate
the value based on the rpc reply header size plus the maximum nfs compound
reply size.

Signed-off-by: Mike Sager <sager@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c