Re: [PATCH 1/2] xfs: always use DAX if mount option is used
From: Christoph Hellwig
Date: Fri Sep 08 2017 - 03:20:36 EST
On Thu, Sep 07, 2017 at 03:08:31PM -0600, Ross Zwisler wrote:
> Before support for the per-inode DAX flag was disabled the XFS the code had
> an issue where the user couldn't reliably tell whether or not DAX was being
> used to service page faults and I/O when the DAX mount option was used. In
> this case each inode within the mounted filesystem started with S_DAX set
> due to the mount option, but it could be cleared if someone touched the
> individual inode flag.
Looks good, but can you please add a testcase to xfstests for this?
Reviewed-by: Christoph Hellwig <hch@xxxxxx>