Re: [PATCH 3/7] xfs: protect S_DAX transitions in XFS read path
From: Christoph Hellwig
Date: Tue Sep 26 2017 - 02:32:42 EST
We can't just take locking one level up, as we need differnet locking
for different kinds of I/O.
I think you probably want an IOCB_DAX flag to check IS_DAX once and
then stick to it, similar to what we do for direct I/O.