patch-2.1.67 linux/fs/nfsd/stats.c

Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfsd/nfsxdr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/fs/nfsd/stats.c linux/fs/nfsd/stats.c
@@ -32,11 +32,15 @@
 {
 	int	len;
 
-	len = sprintf(buffer,
-		"rc %d %d %d\n",
+	len = sprintf(buffer, "rc %d %d %d  %d %d %d %d %d\n",
 			nfsdstats.rchits,
 			nfsdstats.rcmisses,
-			nfsdstats.rcnocache);
+			nfsdstats.rcnocache,
+			nfsdstats.fh_cached,
+			nfsdstats.fh_valid,
+			nfsdstats.fh_fixup,
+			nfsdstats.fh_lookup,
+			nfsdstats.fh_stale);
 
 	/* Assume we haven't hit EOF yet. Will be set by svc_proc_read. */
 	*eof = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov