diff mbox

[v2] nfsstat: update client op to match latest kernel

Message ID 1423788999-54229-1-git-send-email-tao.peng@primarydata.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peng Tao Feb. 13, 2015, 12:56 a.m. UTC
We've added a bunch of ops and removed getdevicelist.

Cc: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
---
 utils/nfsstat/nfsstat.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
index 9f481db..427c724 100644
--- a/utils/nfsstat/nfsstat.c
+++ b/utils/nfsstat/nfsstat.c
@@ -31,7 +31,7 @@  enum {
 	SRVPROC3_SZ = 22,
 	CLTPROC3_SZ = 22,
 	SRVPROC4_SZ = 2,
-	CLTPROC4_SZ = 49,
+	CLTPROC4_SZ = 56,
 	SRVPROC4OPS_SZ = 59,
 };
 
@@ -127,7 +127,7 @@  static const char *	nfscltproc4name[CLTPROC4_SZ] = {
 	"remove",    "rename",    "link",    "symlink",     "create",      "pathconf",
 	"statfs",    "readlink",  "readdir", "server_caps", "delegreturn", "getacl",
 	"setacl",    "fs_locations",
-	"rel_lkowner", "secinfo",
+	"rel_lkowner", "secinfo", "fsid_present",
 	/* nfsv4.1 client ops */
 	"exchange_id",
 	"create_ses",
@@ -139,7 +139,14 @@  static const char *	nfscltproc4name[CLTPROC4_SZ] = {
 	"getdevinfo",
 	"layoutcommit",
 	"layoutreturn",
-	"getdevlist",
+	"secinfo_no_n",
+	"test_stateid",
+	"free_stateid",
+	"bind_con_ses",
+	"destroy_clid",
+	"seek",
+	"allocate",
+	"deallocate",
 };
 
 static const char *     nfssrvproc4opname[SRVPROC4OPS_SZ] = {