On Mon 13-01-20 13:51:59, Darrick J. Wong wrote: > On Mon, Jan 13, 2020 at 04:34:21PM +0530, Ritesh Harjani wrote: > > Some filesystems (e.g. ext4) need to know in it's writeback path, that > > whether DIO is in progress or not. This info may be needed to avoid the > > stale data exposure race with DIO reads. > > Does XFS have this problem too? > > Admittedly dio read during mmap write is probably not well supported. ;) Well, XFS always performs buffered writeback using unwritten extents so at least the immediate problem of stale data exposure ext4 has does not happen there AFAICT. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR