Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-21 Thread Vivek Goyal
On Wed, Jul 21, 2021 at 10:14:44PM +0800, JeffleXu wrote: [..] > > Also, please copy virtiofs list (virtio...@redhat.com) when you post > > patches next time. > > > > Got it. By the way, what's the git repository of virtiofsd? AFAIK, > virtiofsd included in qemu (g...@github.com:qemu/qemu.git)

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-21 Thread JeffleXu
On 7/21/21 3:27 AM, Vivek Goyal wrote: > On Tue, Jul 20, 2021 at 02:51:34PM +0800, JeffleXu wrote: >> >> >> On 7/20/21 3:44 AM, Vivek Goyal wrote: >>> On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: Add one flag for fuse_attr.flags indicating if DAX shall be enabled for

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-21 Thread JeffleXu
On 7/21/21 3:40 AM, Vivek Goyal wrote: > On Tue, Jul 20, 2021 at 03:19:50PM +0800, JeffleXu wrote: >> >> >> On 7/20/21 2:41 AM, Vivek Goyal wrote: >>> On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: Add one flag for fuse_attr.flags indicating if DAX shall be enabled for

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread Vivek Goyal
On Tue, Jul 20, 2021 at 03:19:50PM +0800, JeffleXu wrote: > > > On 7/20/21 2:41 AM, Vivek Goyal wrote: > > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: > >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for > >> this file. > >> > >> When the per-file DAX flag

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread Vivek Goyal
On Tue, Jul 20, 2021 at 02:51:34PM +0800, JeffleXu wrote: > > > On 7/20/21 3:44 AM, Vivek Goyal wrote: > > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: > >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for > >> this file. > >> > >> When the per-file DAX flag

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread JeffleXu
On 7/20/21 2:51 PM, JeffleXu wrote: > > > On 7/20/21 3:44 AM, Vivek Goyal wrote: >> On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: >>> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for >>> this file. >>> >>> When the per-file DAX flag changes for an *opened*

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread JeffleXu
On 7/20/21 2:41 AM, Vivek Goyal wrote: > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for >> this file. >> >> When the per-file DAX flag changes for an *opened* file, the state of >> the file won't be updated

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread JeffleXu
On 7/20/21 3:44 AM, Vivek Goyal wrote: > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for >> this file. >> >> When the per-file DAX flag changes for an *opened* file, the state of >> the file won't be updated

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-19 Thread Vivek Goyal
On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: > Add one flag for fuse_attr.flags indicating if DAX shall be enabled for > this file. > > When the per-file DAX flag changes for an *opened* file, the state of > the file won't be updated until this file is closed and reopened later. >

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-19 Thread Vivek Goyal
On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: > Add one flag for fuse_attr.flags indicating if DAX shall be enabled for > this file. > > When the per-file DAX flag changes for an *opened* file, the state of > the file won't be updated until this file is closed and reopened later. >

[PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-16 Thread Jeffle Xu
Add one flag for fuse_attr.flags indicating if DAX shall be enabled for this file. When the per-file DAX flag changes for an *opened* file, the state of the file won't be updated until this file is closed and reopened later. Signed-off-by: Jeffle Xu --- fs/fuse/dax.c | 21