f2fs: support IO error injection
authorChao Yu <yuchao0@huawei.com>
Sun, 18 Sep 2016 15:30:07 +0000 (23:30 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Sep 2016 18:43:06 +0000 (11:43 -0700)
commit8b038c70dfe4fd7b62573917a9e976f826ac6ad3
tree175fe3a2f6b72002259feb601f0de64b77de20f1
parent866969668aebe9626c083b9ababc8f88454ce049
f2fs: support IO error injection

This patch adds to support IO error injection for testing IO error
tolerance of f2fs.

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/super.c