]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/f2fs/f2fs.h
f2fs: add F2FS_GOING_DOWN_METAFLUSH to test power-failure
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 7 Oct 2015 16:46:37 +0000 (09:46 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 12 Oct 2015 20:37:54 +0000 (13:37 -0700)
commitc912a8298c16ef15aa2b7203022c935f439f488b
tree728add7743e88aaea7571acbf3e3699b4b8921ee
parent6066d8cdb6dd0fd51ccd96027f6ae8e6b3b5adff
f2fs: add F2FS_GOING_DOWN_METAFLUSH to test power-failure

This patch introduces F2FS_GOING_DOWN_METAFLUSH which flushes meta pages like
SSA blocks and then blocks all the writes.
This can be used by power-failure tests.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c