commit | d618477473ebd9abc26580a762f460860e541f57 | [log] [tgz] |
---|---|---|
author | Yunlei He <heyunlei@huawei.com> | Fri Apr 13 11:08:05 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu May 31 11:31:47 2018 -0700 |
tree | 7040bc5f4e70fc6f60d8315a6e089a4adc98ca18 | |
parent | b169c3c560e2b133860f0496d0872699c9b48d54 [diff] |
f2fs: stop issue discard if something wrong with f2fs v4->v5: move data corruption check to __submit_discard_cmd, in order to control discard io submitted more accurately, besides, increase async thread wait time if data corruption detected. This patch stop async thread and umount process to issue discard if something wrong with f2fs, which is similar to fstrim. Signed-off-by: Yunlei He <heyunlei@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>