]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: add a way to limit roll forward recovery time
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 27 Jan 2022 21:31:43 +0000 (13:31 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 12 Feb 2022 13:58:18 +0000 (05:58 -0800)
commit0ebd1a4559609017d6cf0c2c1627e6c92c2158c8
treeb9cd52b0f68aab84c283c1fd9b97da308361c381
parentda801148ad82adecb581e9ea43babc1e320b4942
f2fs: add a way to limit roll forward recovery time

This adds a sysfs entry to call checkpoint during fsync() in order to avoid
long elapsed time to run roll-forward recovery when booting the device.
Default value doesn't enforce the limitation which is same as before.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/checkpoint.c
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/recovery.c
fs/f2fs/super.c
fs/f2fs/sysfs.c