f2fs: support bio allocation error injection
authorChao Yu <yuchao0@huawei.com>
Sat, 28 Oct 2017 08:52:31 +0000 (16:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:28:29 +0000 (19:28 -0800)
commit73b8db889f80ec53c60e0220aa2f8e2c42c6d3ab
tree6f76d2523f4ae197774f05bad0fe40be31a35fe6
parentb8a938e4f8757523f51ff3e26a0116351727764f
f2fs: support bio allocation error injection

This patch adds to support bio allocation 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/segment.c
fs/f2fs/super.c