Re: [PATCH v7 05/14] ext4, dax: introduce ext4_dax_aops

From: Christoph Hellwig
Date: Thu Mar 29 2018 - 14:09:35 EST


On Thu, Mar 29, 2018 at 05:40:35PM +0200, Jan Kara wrote:
> So ext4_direct_IO() for IS_DAX() files will just bail out. So could you
> just provide ext4_dax_direct_IO() which will bail out and use it here? With
> a similar comment as in xfs_vm_direct_IO() that open still needs this
> method set... Thanks!

In fact a common noop_direct_IO might make sense.