HomeFreeBSD

Update the nfsstats structure to include the changes needed by

Description

Update the nfsstats structure to include the changes needed by
the patch in D1626 plus changes so that it includes counts for
NFSv4.1 (and the draft of NFSv4.2).
Also, make all the counts uint64_t and add a vers field at the
beginning, so that future revisions can easily be implemented.
There is code in place to handle the old vesion of the nfsstats
structure for backwards binary compatibility.

Subsequent commits will update nfsstat(8) to use the new fields.

Submitted by: will (earlier version)
Reviewed by: ken
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D1626

Details

Provenance
rmacklemAuthored on
Reviewer
ken
Differential Revision
D1626: Add iostat-like NFS server statistics
Parents
rS304025: Reviewed by: allanjude
Branches
Unknown
Tags
Unknown