Andy Adamson f1c097be2b NFSv4.1 Fix gdia_maxcount calculation to fit in ca_maxresponsesize
The GETDEVICEINFO gdia_maxcount represents all of the data being returned
within the GETDEVICEINFO4resok structure and includes the XDR overhead.

The CREATE_SESSION ca_maxresponsesize is the maximum reply and includes the RPC
headers (including security flavor credentials and verifiers).

Split out the struct pnfs_device field maxcount which is the gdia_maxcount
from the pglen field which is the reply (the total) buffer length.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2013-06-28 15:34:43 -04:00
..
2012-12-06 00:30:44 +01:00
2012-12-20 22:19:42 +00:00
2013-06-28 15:22:07 -04:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2013-02-22 23:31:31 -05:00
2012-07-30 19:06:46 -04:00
2012-07-30 19:06:52 -04:00
2013-02-22 23:31:31 -05:00