diff options
author | Andy Adamson <andros@netapp.com> | 2013-06-26 03:02:53 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-28 23:34:43 +0400 |
commit | f1c097be2b35dcfc06c1c591194d78058dd67284 (patch) | |
tree | 62c9361ea865c30757d0400dbadb1676b3bfb72e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ffa57b9e53cf7ace3e63e5fa9f91ffb31e0aacf6 (diff) | |
download | linux-f1c097be2b35dcfc06c1c591194d78058dd67284.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions