Re: [Virtio-fs] [virtiofsd PATCH v4 4/4] virtiofsd: support per-file DAX in FUSE_LOOKUP

2021-09-08 Thread JeffleXu
On 8/24/21 6:15 PM, Greg Kurz wrote: > On Fri, 20 Aug 2021 13:03:23 +0800 > JeffleXu wrote: >> >> Fine. Got it. However the returned fd (opened without O_PATH) is only >> used for FS_IOC_GETFLAGS/FS_IOC_FSGETXATTR ioctl, while in most cases >> for special device files, these two ioctls should

Re: [Virtio-fs] [virtiofsd PATCH v4 4/4] virtiofsd: support per-file DAX in FUSE_LOOKUP

2021-08-24 Thread Greg Kurz
On Fri, 20 Aug 2021 13:03:23 +0800 JeffleXu wrote: > > > On 8/19/21 9:08 PM, Dr. David Alan Gilbert wrote: > > * JeffleXu (jeffl...@linux.alibaba.com) wrote: > >> > >> > >> On 8/18/21 3:00 AM, Dr. David Alan Gilbert wrote: > >>> * Jeffle Xu (jeffl...@linux.alibaba.com) wrote: > For

Re: [Virtio-fs] [virtiofsd PATCH v4 4/4] virtiofsd: support per-file DAX in FUSE_LOOKUP

2021-08-19 Thread JeffleXu
On 8/19/21 9:08 PM, Dr. David Alan Gilbert wrote: > * JeffleXu (jeffl...@linux.alibaba.com) wrote: >> >> >> On 8/18/21 3:00 AM, Dr. David Alan Gilbert wrote: >>> * Jeffle Xu (jeffl...@linux.alibaba.com) wrote: For passthrough, when the corresponding virtiofs in guest is mounted with

Re: [Virtio-fs] [virtiofsd PATCH v4 4/4] virtiofsd: support per-file DAX in FUSE_LOOKUP

2021-08-19 Thread Dr. David Alan Gilbert
* JeffleXu (jeffl...@linux.alibaba.com) wrote: > > > On 8/18/21 3:00 AM, Dr. David Alan Gilbert wrote: > > * Jeffle Xu (jeffl...@linux.alibaba.com) wrote: > >> For passthrough, when the corresponding virtiofs in guest is mounted > >> with '-o dax=inode', advertise that the file is capable of

Re: [Virtio-fs] [virtiofsd PATCH v4 4/4] virtiofsd: support per-file DAX in FUSE_LOOKUP

2021-08-17 Thread JeffleXu
On 8/18/21 3:00 AM, Dr. David Alan Gilbert wrote: > * Jeffle Xu (jeffl...@linux.alibaba.com) wrote: >> For passthrough, when the corresponding virtiofs in guest is mounted >> with '-o dax=inode', advertise that the file is capable of per-file >> DAX if the inode in the backend fs is marked with

Re: [Virtio-fs] [virtiofsd PATCH v4 4/4] virtiofsd: support per-file DAX in FUSE_LOOKUP

2021-08-17 Thread Dr. David Alan Gilbert
* Jeffle Xu (jeffl...@linux.alibaba.com) wrote: > For passthrough, when the corresponding virtiofs in guest is mounted > with '-o dax=inode', advertise that the file is capable of per-file > DAX if the inode in the backend fs is marked with FS_DAX_FL flag. > > Signed-off-by: Jeffle Xu > --- >