Re: [PATCH 3/7] xfs: protect S_DAX transitions in XFS read path

From: Christoph Hellwig
Date: Sun Oct 01 2017 - 04:17:38 EST


On Tue, Sep 26, 2017 at 11:11:55AM -0700, Dan Williams wrote:
> I think we'll always need an explicit override available, but yes we
> need to think about what the override looks like in the context of a
> kernel that is able to automatically pick the right I/O policy
> relative to the media type. A potential mixed policy for reads vs
> writes makes sense. Where would this finer grained I/O policy
> selection go other than more inode flags?

fadvise?