f2fs: support get_page error injection
authorChao Yu <yuchao0@huawei.com>
Sat, 28 Oct 2017 08:52:30 +0000 (16:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:28:28 +0000 (19:28 -0800)
commitb8a938e4f8757523f51ff3e26a0116351727764f
tree46091e5fc9d7a6bbcb946c1bf5f6d71ad947d03f
parentf2b91f22a9a207ceef9efeb3b0e586e7a4727f1b
f2fs: support get_page error injection

This patch adds to support get_page error injection to simulate
out-of-memory test scenario.

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