]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: support checkpoint error injection
authorChao Yu <yuchao0@huawei.com>
Mon, 26 Sep 2016 11:45:55 +0000 (19:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 1 Oct 2016 00:34:35 +0000 (17:34 -0700)
commite60e6ce35241ee08edbeffb3e1cd652670be60c0
treea125a1021d9a2e37df3ef624a4efff1d7606eed5
parentf986cd0cf8baab161cdfe6275532e738a4120796
f2fs: support checkpoint error injection

This patch adds to support checkpoint error injection in f2fs for testing
fatal error tolerance, it will be useful that it can simulate abnormal
power off by f2fs itself instead of calling godown ioctl by running apps.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/segment.c
fs/f2fs/super.c