Print this page
NEX-6778 NFS kstats leak and cause system to hang
Revert "NEX-4261 Per-client NFS server IOPS, bandwidth, and latency kstats"
This reverts commit 586c3ab1927647487f01c337ddc011c642575a52.
Revert "NEX-5354 Aggregated IOPS, bandwidth, and latency kstats for NFS server"
This reverts commit c91d7614da8618ef48018102b077f60ecbbac8c2.
Revert "NEX-5667 nfssrv_stats_flags does not work for aggregated kstats"
This reverts commit 3dcf42618be7dd5f408c327f429c81e07ca08e74.
Revert "NEX-5750 Time values for aggregated NFS server kstats should be normalized"
This reverts commit 1f4d4f901153b0191027969fa4a8064f9d3b9ee1.
Revert "NEX-5942 Panic in rfs4_minorvers_mismatch() with NFSv4.1 client"
This reverts commit 40766417094a162f5e4cc8786c0fa0a7e5871cd9.
Revert "NEX-5752 NFS server: namespace collision in kstats"
This reverts commit ae81e668db86050da8e483264acb0cce0444a132.
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-4261 Per-client NFS server IOPS, bandwidth, and latency kstats
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-3097 IOPS, bandwidth, and latency kstats for NFS server
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

@@ -18,11 +18,11 @@
  *
  * CDDL HEADER END
  */
 
 /*
- * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.

@@ -1460,10 +1460,13 @@
                 SETCLIENTID_CONFIRM4args opsetclientid_confirm;
                 VERIFY4args opverify;
                 WRITE4args opwrite;
                 RELEASE_LOCKOWNER4args oprelease_lockowner;
         } nfs_argop4_u;
+        size_t opsize;          /* the number of bytes occupied by the */
+                                /* particular operation in the XDR stream */
+                                /* (set during the decode only) */
 };
 typedef struct nfs_argop4 nfs_argop4;
 
 struct nfs_resop4 {
         nfs_opnum4 resop;

@@ -1506,10 +1509,16 @@
                 VERIFY4res opverify;
                 WRITE4res opwrite;
                 RELEASE_LOCKOWNER4res oprelease_lockowner;
                 ILLEGAL4res opillegal;
         } nfs_resop4_u;
+        size_t opsize;          /* the number of bytes occupied by the */
+                                /* particular operation in the XDR stream */
+                                /* (set during the encode only) */
+        struct exportinfo *exi; /* the exportinfo where the operation should */
+                                /* be counted in (support for per-exportinfo */
+                                /* kstats) */
 };
 typedef struct nfs_resop4 nfs_resop4;
 
 /*
  * Fixed size tag string for easy client encoding