Fwd: [PATCH for-2.6.36]: nfsstat: add release_lockowner to client stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forwarding... (forgot to Cc the list)

Benny

On Jul. 20, 2010, 8:45 +0300, Benny Halevy <bhalevy@xxxxxxxxxxx> wrote:

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

Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx>
---

 utils/nfsstat/nfsstat.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
index 99d77c9..3cd6635 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 = 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",
-- 
1.7.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux