commit | 5b37ebbaebc64e25dc4a2a618666628d49ecc5f3 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Thu May 03 23:26:02 2018 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri May 04 14:18:44 2018 -0700 |
tree | 08c3967812313ba9169d68e29c621ba39fc1ffea | |
parent | f453147e9315b3bc1050b590278a63d91fc2a681 [diff] |
f2fs: avoid fsync() failure caused by EAGAIN in writepage() pageout() in MM traslates EAGAIN, so calls handle_write_error() -> mapping_set_error() -> set_bit(AS_EIO, ...). file_write_and_wait_range() will see EIO error, which is critical to return value of fsync() followed by atomic_write failure to user. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>