Whamcloud - gitweb
LU-11147 llite: add newline to llite.*.offset_stats 17/32817/3
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 14 Jul 2018 09:29:48 +0000 (03:29 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Jul 2018 16:01:24 +0000 (16:01 +0000)
The llite.*.offset_stats file is missing a newline in the output.

Fixes: 49577875

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ieade87f500c4fa24a0a7b8bd35d65f18dd5681ba
Reviewed-on: https://review.whamcloud.com/32817
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/lproc_llite.c

index 7602ac4..21ae273 100644 (file)
@@ -1810,7 +1810,7 @@ static int ll_rw_offset_stats_seq_show(struct seq_file *seq, void *v)
        for (i = 0; i < LL_OFFSET_HIST_MAX; i++) {
                if (offset[i].rw_pid != 0)
                        seq_printf(seq,
-                                  "%3c %10d %14Lu %14Lu %17lu %17lu %14Lu",
+                                 "%3c %10d %14llu %14llu %17lu %17lu %14llu\n",
                                   offset[i].rw_op == READ ? 'R' : 'W',
                                   offset[i].rw_pid,
                                   offset[i].rw_range_start,
@@ -1824,7 +1824,7 @@ static int ll_rw_offset_stats_seq_show(struct seq_file *seq, void *v)
        for (i = 0; i < LL_PROCESS_HIST_MAX; i++) {
                if (process[i].rw_pid != 0)
                        seq_printf(seq,
-                                  "%3c %10d %14Lu %14Lu %17lu %17lu %14Lu",
+                                 "%3c %10d %14llu %14llu %17lu %17lu %14llu\n",
                                   process[i].rw_op == READ ? 'R' : 'W',
                                   process[i].rw_pid,
                                   process[i].rw_range_start,