diff options
author | Yangtao Li <frank.li@vivo.com> | 2022-12-21 22:20:01 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-31 00:23:51 +0300 |
commit | 193a639fed92793ad10e327cfb2be7175be01425 (patch) | |
tree | e2266dd3e50a377e5c5957ffa0cabfabdc81b8c7 /fs/f2fs/iostat.c | |
parent | 7a2b15cfa8dbbd54beb4e2ce7b2f42eb0ad00425 (diff) | |
download | linux-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.c | 1 |
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; } |