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)
commit0f34802858e74e708c6d42209811f6d264892c8f
treea125a1021d9a2e37df3ef624a4efff1d7606eed5
parent2443b8b363917468e2fb163b34c8f14fe1546251
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