f2fs: support recording stop_checkpoint reason into super_block
authorChao Yu <chao@kernel.org>
Wed, 28 Sep 2022 15:38:53 +0000 (23:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Oct 2022 20:31:44 +0000 (13:31 -0700)
commita9cfee0ef98e99c8b1951dfd1d57a88580354d0d
tree203825dc4c216998dd91f4bdcc4c121d259c9056
parentca7efd71c3dffd5442b448dd553a903425222597
f2fs: support recording stop_checkpoint reason into super_block

This patch supports to record stop_checkpoint error into
f2fs_super_block.s_stop_reason[].

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inode.c
fs/f2fs/segment.c
fs/f2fs/super.c
include/linux/f2fs_fs.h