|
@@ -11,6 +11,11 @@
|
|
|
|
|
|
#include <linux/nfs4.h>
|
|
|
|
|
|
+/* thread usage wraps very million seconds (approx one fortnight) */
|
|
|
+#define NFSD_USAGE_WRAP (HZ*1000000)
|
|
|
+
|
|
|
+#ifdef __KERNEL__
|
|
|
+
|
|
|
struct nfsd_stats {
|
|
|
unsigned int rchits; /* repcache hits */
|
|
|
unsigned int rcmisses; /* repcache hits */
|
|
@@ -35,10 +40,6 @@ struct nfsd_stats {
|
|
|
|
|
|
};
|
|
|
|
|
|
-/* thread usage wraps very million seconds (approx one fortnight) */
|
|
|
-#define NFSD_USAGE_WRAP (HZ*1000000)
|
|
|
-
|
|
|
-#ifdef __KERNEL__
|
|
|
|
|
|
extern struct nfsd_stats nfsdstats;
|
|
|
extern struct svc_stat nfsd_svcstats;
|