]> 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)
commit47527514dcefa17331c1e8254d04e91dba855711
treee9360e5772e2b6bc6d04a4c3c72f85a8f716a62b
parent82701636bf764796b3f8c4975a4f3a822a62409a
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