]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: introduce sysfs atomic write statistics
authorDaeho Jeong <daehojeong@google.com>
Mon, 18 Jul 2022 23:02:48 +0000 (16:02 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 31 Jul 2022 03:17:07 +0000 (20:17 -0700)
commit26fcca1e36f65bd3f6b7c5d03daeb2fd58302c9b
treee9360e5772e2b6bc6d04a4c3c72f85a8f716a62b
parentdddbf0f1b40c200a879e4b6f71f8a6b29eaa782e
f2fs: introduce sysfs atomic write statistics

introduce the below 4 new sysfs node for atomic write statistics.
- current_atomic_write: the total current atomic write block count,
                        which is not committed yet.
- peak_atomic_write: the peak value of total current atomic write block
                     count after boot.
- committed_atomic_block: the accumulated total committed atomic write
                          block count after boot.
- revoked_atomic_block: the accumulated total revoked atomic write block
                        count after boot.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c