summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2015-12-11 11:19:17 -0500
committerSteve Dickson <steved@redhat.com>2015-12-11 11:22:25 -0500
commit24c8c849a0118a8a204640433c4dc2c3c6ae133d (patch)
treec6001c0005310d100b72eeceba7c8ae6c0e9de0f
parentb92f1b94b6a1cc8460a7f11b1b3f5f6f62701145 (diff)
downloadnfs-utils-24c8c849a0118a8a204640433c4dc2c3c6ae133d.tar.gz
nfs-utils-24c8c849a0118a8a204640433c4dc2c3c6ae133d.tar.xz
nfs-utils-24c8c849a0118a8a204640433c4dc2c3c6ae133d.zip
mountstats: add missing v4.2 operations
Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tools/mountstats/mountstats.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
index 1e2811f..4ca4bc4 100644
--- a/tools/mountstats/mountstats.py
+++ b/tools/mountstats/mountstats.py
@@ -150,6 +150,8 @@ Nfsv3ops = [
'COMMIT'
]
+# This list should be kept in-sync with the NFSPROC4_CLNT_* enum in
+# include/linux/nfs4.h in the kernel.
Nfsv4ops = [
'NULL',
'READ',
@@ -204,7 +206,12 @@ Nfsv4ops = [
'FREE_STATEID',
'GETDEVICELIST',
'BIND_CONN_TO_SESSION',
- 'DESTROY_CLIENTID'
+ 'DESTROY_CLIENTID',
+ 'SEEK',
+ 'ALLOCATE',
+ 'DEALLOCATE',
+ 'LAYOUTSTATS',
+ 'CLONE'
]
class DeviceData: