diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-03 23:26:02 -0700 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-04 10:51:22 -0700 |
| commit | 5b19d284f5195a925dd015a6397bfce184097378 (patch) | |
| tree | 2d01d08c74de0967b1fe627fecb415bbd1826dd3 /tools/perf/scripts/python | |
| parent | f2fs: clear PageError on writepage (diff) | |
| download | linux-5b19d284f5195a925dd015a6397bfce184097378.tar.gz linux-5b19d284f5195a925dd015a6397bfce184097378.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
