]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r304026
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 3 Oct 2016 22:11:45 +0000 (22:11 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 3 Oct 2016 22:11:45 +0000 (22:11 +0000)
commitb0b6fa8b659a211b8df87810d3fd81df126c3856
tree0b136abd27871909a2bdf7fa4c8a44c6ecab2f88
parent816f4a7f8b09dde13410d871bd68e9ed603d88f3
MFC: r304026
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@306659 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
14 files changed:
sys/fs/nfs/nfs_commonkrpc.c
sys/fs/nfs/nfs_commonport.c
sys/fs/nfs/nfsport.h
sys/fs/nfs/nfsproto.h
sys/fs/nfsclient/nfs_clbio.c
sys/fs/nfsclient/nfs_clcomsubs.c
sys/fs/nfsclient/nfs_clstate.c
sys/fs/nfsclient/nfs_clsubs.c
sys/fs/nfsclient/nfs_clvfsops.c
sys/fs/nfsclient/nfs_clvnops.c
sys/fs/nfsserver/nfs_nfsdcache.c
sys/fs/nfsserver/nfs_nfsdport.c
sys/fs/nfsserver/nfs_nfsdsocket.c
sys/fs/nfsserver/nfs_nfsdstate.c