OSDN Git Service

f2fs: make fault injection covering __submit_flush_wait()
authorChao Yu <yuchao0@huawei.com>
Tue, 19 Feb 2019 09:08:18 +0000 (17:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 14 Mar 2019 20:58:05 +0000 (13:58 -0700)
commit40c364049511f14fee99dc271265f956d8d486f0
tree1a3b6f271737dd52a648676af3914020f8182359
parent9878080f02d67df945dd34fd56cc6b41df002704
f2fs: make fault injection covering __submit_flush_wait()

This patch changes to allow failure of f2fs_bio_alloc() in
__submit_flush_wait(), which can simulate flush error in checkpoint()
for covering more error paths.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c