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>
Mon, 6 Nov 2017 00:41:55 +0000 (16:41 -0800)
commitd62fe971485f15fa08fec2a75ac4e4ffead40a5a
tree58ae71c7749736390d0fb975986ad2d3bd7bba0d
parent01eccef7930f137bed9501bf0923931f45909b94
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