Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-07 Thread Albert Esteve
On Thu, Feb 6, 2025 at 7:22 PM David Hildenbrand wrote: > > On 06.02.25 15:59, Albert Esteve wrote: > > Hi! > > > > On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: > >> > >> On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > >>> And then there are challenges at QEMU level. virti

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Asahi Lina
On 2/7/25 4:44 AM, Dan Williams wrote: > Asahi Lina wrote: >> Hi, >> >> On February 6, 2025 1:10:15 AM GMT+01:00, Dan Williams >> wrote: >>> Vivek Goyal wrote: On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > FS DAX requires file systems to call into the DAX layout prio

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Albert Esteve
Hi! On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: > > On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > > And then there are challenges at QEMU level. virtiofsd needs additional > > vhost-user commands to implement DAX and these never went upstream in > > QEMU. I hope these c

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Asahi Lina
Hi, On February 6, 2025 1:10:15 AM GMT+01:00, Dan Williams wrote: >Vivek Goyal wrote: >> On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: >> > FS DAX requires file systems to call into the DAX layout prior to unlinking >> > inodes to ensure there is no ongoing DMA or other remote

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Dan Williams
Asahi Lina wrote: > Hi, > > On February 6, 2025 1:10:15 AM GMT+01:00, Dan Williams > wrote: > >Vivek Goyal wrote: > >> On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > >> > FS DAX requires file systems to call into the DAX layout prior to > >> > unlinking > >> > inodes to ensu

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread David Hildenbrand
On 06.02.25 15:59, Albert Esteve wrote: Hi! On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: And then there are challenges at QEMU level. virtiofsd needs additional vhost-user commands to implement DAX and these never went ups

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Stefan Hajnoczi
On Thu, Feb 06, 2025 at 03:59:03PM +0100, Albert Esteve wrote: > Hi! > > On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: > > > > On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > > > And then there are challenges at QEMU level. virtiofsd needs additional > > > vhost-user comman

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Stefan Hajnoczi
On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > And then there are challenges at QEMU level. virtiofsd needs additional > vhost-user commands to implement DAX and these never went upstream in > QEMU. I hope these challenges are sorted at some point of time. Albert Esteve has been wo

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Vivek Goyal
On Wed, Feb 05, 2025 at 04:10:15PM -0800, Dan Williams wrote: > Vivek Goyal wrote: > > On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > > > FS DAX requires file systems to call into the DAX layout prior to > > > unlinking > > > inodes to ensure there is no ongoing DMA or other re

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-05 Thread Dan Williams
Vivek Goyal wrote: > On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > > FS DAX requires file systems to call into the DAX layout prior to unlinking > > inodes to ensure there is no ongoing DMA or other remote access to the > > direct mapped page. The fuse file system implements >

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-05 Thread Vivek Goyal
On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > FS DAX requires file systems to call into the DAX layout prior to unlinking > inodes to ensure there is no ongoing DMA or other remote access to the > direct mapped page. The fuse file system implements > fuse_dax_break_layouts() to

[PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-01-09 Thread Alistair Popple
FS DAX requires file systems to call into the DAX layout prior to unlinking inodes to ensure there is no ongoing DMA or other remote access to the direct mapped page. The fuse file system implements fuse_dax_break_layouts() to do this which includes a comment indicating that passing dmap_end == 0 l