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>
Mon, 6 Nov 2017 00:41:54 +0000 (16:41 -0800)
commit01eccef7930f137bed9501bf0923931f45909b94
treec4f020222dd9e6b1949c4d2215af74f75d3e8f40
parentb32d73abc6f0a63503f68a7227b1d46aff1f46af
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