commit | 0a4daae5ffea39f5015334e4d18a6a80b447cae4 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Sep 19 15:28:40 2018 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Sep 26 12:45:34 2018 -0700 |
tree | 56e7018a65f6615649a4ff719c8063c3ff7cd89f | |
parent | d83d0f5ba8532e649146ac32ae47167a28d98c84 [diff] |
f2fs: update i_size after DIO completion This is related to ee70daaba82d ("xfs: update i_size after unwritten conversion in dio completion") If we update i_size during dio_write, dio_read can read out stale data, which breaks xfstests/465. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>