Re: [Virtio-fs] [PATCH v2 13/20] fuse, dax: Implement dax read/write operations

2020-08-11 Thread Vivek Goyal
On Tue, Aug 11, 2020 at 08:06:55AM +1000, Dave Chinner wrote: > On Fri, Aug 07, 2020 at 03:55:19PM -0400, Vivek Goyal wrote: > > This patch implements basic DAX support. mmap() is not implemented > > yet and will come in later patches. This patch looks into implemeting > > read/write. > > >

Re: [Virtio-fs] [PATCH v2 13/20] fuse, dax: Implement dax read/write operations

2020-08-10 Thread Dave Chinner
On Fri, Aug 07, 2020 at 03:55:19PM -0400, Vivek Goyal wrote: > This patch implements basic DAX support. mmap() is not implemented > yet and will come in later patches. This patch looks into implemeting > read/write. > +static int iomap_begin_setup_new_mapping(struct inode *inode, loff_t

[Virtio-fs] [PATCH v2 13/20] fuse, dax: Implement dax read/write operations

2020-08-07 Thread Vivek Goyal
This patch implements basic DAX support. mmap() is not implemented yet and will come in later patches. This patch looks into implemeting read/write. We make use of interval tree to keep track of per inode dax mappings. Do not use dax for file extending writes, instead just send WRITE message to