summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-12-21 20:20:01 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-30 22:23:51 +0100
commit193a639fed92793ad10e327cfb2be7175be01425 (patch)
treee2266dd3e50a377e5c5957ffa0cabfabdc81b8c7 /fs/f2fs/f2fs.h
parentf2fs: support accounting iostat count and avg_bytes (diff)
downloadlinux-193a639fed92793ad10e327cfb2be7175be01425.tar.xz
linux-193a639fed92793ad10e327cfb2be7175be01425.zip
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/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index d4729f8af247..331c330ea31d 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1192,6 +1192,7 @@ enum iostat_type {
/* other */
FS_DISCARD_IO, /* discard */
+ FS_FLUSH_IO, /* flush */
NR_IO_TYPE,
};