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>
This commit is contained in:
Chao Yu 2017-10-28 16:52:31 +08:00 • committed by Jaegeuk Kim
commit d62fe97148
4 changed files with 21 additions and 9 deletions