summaryrefslogtreecommitdiff
path: root/fs/f2fs/iostat.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-12-21 22:20:01 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-31 00:23:51 +0300
commit193a639fed92793ad10e327cfb2be7175be01425 (patch)
treee2266dd3e50a377e5c5957ffa0cabfabdc81b8c7 /fs/f2fs/iostat.c
parent7a2b15cfa8dbbd54beb4e2ce7b2f42eb0ad00425 (diff)
downloadlinux-193a639fed92793ad10e327cfb2be7175be01425.tar.xz
f2fs: add iostat support for flush
In this patch, it adds to account flush count. Signed-off-by: Yangtao Li <frank.li@vivo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/iostat.c')
-rw-r--r--fs/f2fs/iostat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/iostat.c b/fs/f2fs/iostat.c
index acf834c77291..91b384bea5ac 100644
--- a/fs/f2fs/iostat.c
+++ b/fs/f2fs/iostat.c
@@ -80,6 +80,7 @@ int __maybe_unused iostat_info_seq_show(struct seq_file *seq, void *offset)
/* print other IOs */
seq_puts(seq, "[OTHER]\n");
IOSTAT_INFO_SHOW("fs discard", FS_DISCARD_IO);
+ IOSTAT_INFO_SHOW("fs flush", FS_FLUSH_IO);
return 0;
}