On Wed 02-11-16 07:30:06, Christoph Hellwig wrote: > On Tue, Nov 01, 2016 at 10:06:18PM +0100, Jan Kara wrote: > > Convert DAX faults to use iomap infrastructure. We would not have to start > > transaction in ext4_dax_fault() anymore since ext4_iomap_begin takes > > care of that but so far we do that to avoid lock inversion of > > transaction start with DAX entry lock which gets acquired in > > dax_iomap_fault() before calling ->iomap_begin handler. > > So far I've tried to avoid the need to avoid having multiple iomap_ops > for the same fs. Would you be fine with a new IOMAP_FAULT flag for write > faults? Yes, that's another option. If that's better, I'll redo the patch like that. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html