Re: [f2fs-dev] [PATCH] f2fs: update i_size after DIO completion
From: Chao Yu
Date: Wed Sep 26 2018 - 01:41:24 EST
On 2018/9/21 5:51, Jaegeuk Kim wrote:
> 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.
>
> Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,