Skip to contentSkip to conversation

: nfsstat: add release_lockowner to client stats

PATCH New Benny Halevy 1 participant 1 message Jul 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : nfsstat: add release_lockowner to client stats

Forwarding... (forgot to Cc the list)

Benny

On Jul. 20, 2010, 8:45 +0300, Benny Halevy <[email protected]> wrote:

Add stat for the RELEASE_LOCKOWNER client operation as implemented in Linux 2.6.36

---

 utils/nfsstat/nfsstat.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
utils/nfsstat/nfsstat.c +2 -1
index 99d77c9..3cd6635 100644
@@ -31,7 +31,7 @@ enum {
 	SRVPROC3_SZ = 22,
 	CLTPROC3_SZ = 22,
 	SRVPROC4_SZ = 2,
-	CLTPROC4_SZ = 48,
+	CLTPROC4_SZ = 49,
 	SRVPROC4OPS_SZ = 59,
 };
 
@@ -118,6 +118,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",
 	/* nfsv4.1 client ops */
 	"exchange_id",
 	"create_ses",
Signature · 1 line
1.7.1.1