Re: aio completions vs file_accessed race, was: Re: [PATCH 7/8] xfs: split direct I/O and DAX path

Christoph Hellwig <[email protected]> Thu, 29 Sep 2016 22:18:34 +0200
Newsgroups gmane.comp.file-systems.xfs.general
Message-ID <20160929201834.GA5872__8134.01901764355$1475180346$gmane$org@lst.de>
Can you try the patch below?  That just moves the file_accessed call
before the I/O, similar to how we handle timestamp updates on the write
side.  generic_file_read_iter will also need a similar update.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs