f2fs: separate out iostat feature
authorDaeho Jeong <daehojeong@google.com>
Fri, 20 Aug 2021 03:52:28 +0000 (20:52 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 23 Aug 2021 17:25:51 +0000 (10:25 -0700)
commit521187439abfb3e1c946796dc2187c443e5457ab
treefce6c67e0ba999bb4ab8f3463dccf8f005c77be5
parentbbe1da7e34ac5a830163bfdfa09cbe3dadfda3ce
f2fs: separate out iostat feature

Added F2FS_IOSTAT config option to support getting IO statistics through
sysfs and printing out periodic IO statistics tracepoint events and
moved I/O statistics related codes into separate files for better
maintenance.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
[Jaegeuk Kim: set default=y]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
14 files changed:
fs/f2fs/Kconfig
fs/f2fs/Makefile
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/iostat.c [new file with mode: 0644]
fs/f2fs/iostat.h [new file with mode: 0644]
fs/f2fs/node.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c
include/trace/events/f2fs.h