Re: [PATCH v12 06/20] dax,ext2: Replace XIP read and write with DAX I/O

2015-01-13 Thread Matthew Wilcox
On Mon, Jan 12, 2015 at 03:09:41PM -0800, Andrew Morton wrote: > On Fri, 24 Oct 2014 17:20:38 -0400 Matthew Wilcox > wrote: > > +/* > > + * When ext4 encounters a hole, it returns without modifying the > > buffer_head > > + * which means that we can't trust b_size. To cope with this, we set >

Re: [PATCH v12 06/20] dax,ext2: Replace XIP read and write with DAX I/O

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:38 -0400 Matthew Wilcox wrote: > Use the generic AIO infrastructure instead of custom read and write > methods. In addition to giving us support for AIO, this adds the missing > locking between read() and truncate(). > > ... > > +/* > + * When ext4 encounters a hole,

[PATCH v12 06/20] dax,ext2: Replace XIP read and write with DAX I/O

2014-10-24 Thread Matthew Wilcox
Use the generic AIO infrastructure instead of custom read and write methods. In addition to giving us support for AIO, this adds the missing locking between read() and truncate(). Signed-off-by: Matthew Wilcox Reviewed-by: Ross Zwisler Reviewed-by: Jan Kara --- MAINTAINERS| 6 ++ fs