Re: [PATCH v4 3/4] xfs: test per-inode DAX flag DAX to non-DAX

Ross Zwisler
2017-04-18T16:37:10Z

On Mon, Apr 17, 2017 at 03:14:14PM +0800, Xiong Zhou wrote:
> This test is split from xfs/260, only do IO from DAX
> to non-DAX.
>
> Since DIO from DAX to non-DAX is only supported/doable
> when device underneath has memory(struct page) backend.
>
> By ndctl looking at SCRATCH_DEV, skip this test if it is
> not in "memory mode".
>
> Signed-off-by: Xiong Zhou <xzhou@redhat.com>

Looks good.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>