Whamcloud - gitweb
LU-11771 osd: avoid use of HZ in brw_stats
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_lproc.c
index 85b2055..d1708a3 100644 (file)
@@ -148,8 +148,7 @@ static void brw_stats_show(struct seq_file *seq, struct brw_stats *brw_stats)
 
        display_brw_stats(seq, "I/O time (1/1000s)", "ios",
                          &brw_stats->hist[BRW_R_IO_TIME],
-                         &brw_stats->hist[BRW_W_IO_TIME],
-                         jiffies_to_msecs(1000) / MSEC_PER_SEC);
+                         &brw_stats->hist[BRW_W_IO_TIME], 1);
 
         display_brw_stats(seq, "disk I/O size", "ios",
                           &brw_stats->hist[BRW_R_DISK_IOSIZE],