aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 1b2d782374b5..b9f35ca266c2 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -26,6 +26,7 @@
26#include <linux/unistd.h> 26#include <linux/unistd.h>
27#include <linux/sunrpc/clnt.h> 27#include <linux/sunrpc/clnt.h>
28#include <linux/sunrpc/stats.h> 28#include <linux/sunrpc/stats.h>
29#include <linux/sunrpc/metrics.h>
29#include <linux/nfs_fs.h> 30#include <linux/nfs_fs.h>
30#include <linux/nfs_mount.h> 31#include <linux/nfs_mount.h>
31#include <linux/nfs4_mount.h> 32#include <linux/nfs4_mount.h>
@@ -728,6 +729,9 @@ static int nfs_show_stats(struct seq_file *m, struct vfsmount *mnt)
728 seq_printf(m, "\n\tbytes:\t"); 729 seq_printf(m, "\n\tbytes:\t");
729 for (i = 0; i < __NFSIOS_BYTESMAX; i++) 730 for (i = 0; i < __NFSIOS_BYTESMAX; i++)
730 seq_printf(m, "%Lu ", totals.bytes[i]); 731 seq_printf(m, "%Lu ", totals.bytes[i]);
732 seq_printf(m, "\n");
733
734 rpc_print_iostats(m, nfss->client);
731 735
732 return 0; 736 return 0;
733} 737}