diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-25 13:54:33 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-10-02 17:33:10 -0700 |
commit | fb7d70db305a1446864227abf711b756568f8242 (patch) | |
tree | d9156d06f564861defd7d55d4fef6b7982bc4dde /fs/f2fs/namei.c | |
parent | f847c699cff3f050286ee0a08632046468e7a511 (diff) | |
download | lwn-fb7d70db305a1446864227abf711b756568f8242.tar.gz lwn-fb7d70db305a1446864227abf711b756568f8242.zip |
f2fs: clear PageError on the read path
When running fault injection test, I hit somewhat wrong behavior in f2fs_gc ->
gc_data_segment():
0. fault injection generated some PageError'ed pages
1. gc_data_segment
-> f2fs_get_read_data_page(REQ_RAHEAD)
2. move_data_page
-> f2fs_get_lock_data_page()
-> f2f_get_read_data_page()
-> f2fs_submit_page_read()
-> submit_bio(READ)
-> return EIO due to PageError
-> fail to move data
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
0 files changed, 0 insertions, 0 deletions