Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-08-04 Thread JeffleXu
On 7/21/21 10:42 PM, Vivek Goyal wrote: > On Wed, Jul 21, 2021 at 08:48:57AM -0400, Vivek Goyal wrote: > [..] So is "dax=inode" enough for your needs? What's your requirement, can you give little bit of more details. >>> >>> In our use case, the backend fs is something like SquashFS

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-21 Thread Vivek Goyal
On Wed, Jul 21, 2021 at 08:48:57AM -0400, Vivek Goyal wrote: [..] > > > So is "dax=inode" enough for your needs? What's your requirement, > > > can you give little bit of more details. > > > > In our use case, the backend fs is something like SquashFS on host. The > > content of the file on host

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-21 Thread Vivek Goyal
On Wed, Jul 21, 2021 at 08:32:19PM +0800, JeffleXu wrote: > > > On 7/21/21 3:18 AM, Vivek Goyal wrote: > > On Tue, Jul 20, 2021 at 01:25:11PM +0800, JeffleXu wrote: > >> > >> > >> On 7/20/21 5:30 AM, Vivek Goyal wrote: > >>> On Fri, Jul 16, 2021 at 06:47:49PM +0800, Jeffle Xu wrote: > This

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-21 Thread JeffleXu
On 7/21/21 3:18 AM, Vivek Goyal wrote: > On Tue, Jul 20, 2021 at 01:25:11PM +0800, JeffleXu wrote: >> >> >> On 7/20/21 5:30 AM, Vivek Goyal wrote: >>> On Fri, Jul 16, 2021 at 06:47:49PM +0800, Jeffle Xu wrote: This patchset adds support of per-file DAX for virtiofs, which is inspired

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-20 Thread Vivek Goyal
On Tue, Jul 20, 2021 at 01:25:11PM +0800, JeffleXu wrote: > > > On 7/20/21 5:30 AM, Vivek Goyal wrote: > > On Fri, Jul 16, 2021 at 06:47:49PM +0800, Jeffle Xu wrote: > >> This patchset adds support of per-file DAX for virtiofs, which is > >> inspired by Ira Weiny's work on ext4[1] and xfs[2]. >

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-19 Thread JeffleXu
On 7/20/21 5:30 AM, Vivek Goyal wrote: > On Fri, Jul 16, 2021 at 06:47:49PM +0800, Jeffle Xu wrote: >> This patchset adds support of per-file DAX for virtiofs, which is >> inspired by Ira Weiny's work on ext4[1] and xfs[2]. >> >> There are three related scenarios: >> 1. Alloc inode: get

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-19 Thread Vivek Goyal
On Fri, Jul 16, 2021 at 06:47:49PM +0800, Jeffle Xu wrote: > This patchset adds support of per-file DAX for virtiofs, which is > inspired by Ira Weiny's work on ext4[1] and xfs[2]. > > There are three related scenarios: > 1. Alloc inode: get per-file DAX flag from fuse_attr.flags. (patch 3) > 2.

[PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-16 Thread Jeffle Xu
This patchset adds support of per-file DAX for virtiofs, which is inspired by Ira Weiny's work on ext4[1] and xfs[2]. There are three related scenarios: 1. Alloc inode: get per-file DAX flag from fuse_attr.flags. (patch 3) 2. Per-file DAX flag changes when the file has been opened. (patch 3) In