Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-06 Thread Dan Williams
On Mon, Feb 5, 2018 at 11:53 PM, Haozhong Zhang wrote: > Hi Dan, > > On 02/04/18 15:05 -0800, Dan Williams wrote: >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps filesystem blocks directly. >> This

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-06 Thread Dan Williams
On Mon, Feb 5, 2018 at 11:53 PM, Haozhong Zhang wrote: > Hi Dan, > > On 02/04/18 15:05 -0800, Dan Williams wrote: >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps filesystem blocks directly. >> This means that the filesystem must

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-05 Thread Haozhong Zhang
Hi Dan, On 02/04/18 15:05 -0800, Dan Williams wrote: > Filesystem-DAX is incompatible with 'longterm' page pinning. Without > page cache indirection a DAX mapping maps filesystem blocks directly. > This means that the filesystem must not modify a file's block map while > any page in a mapping is

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-05 Thread Haozhong Zhang
Hi Dan, On 02/04/18 15:05 -0800, Dan Williams wrote: > Filesystem-DAX is incompatible with 'longterm' page pinning. Without > page cache indirection a DAX mapping maps filesystem blocks directly. > This means that the filesystem must not modify a file's block map while > any page in a mapping is

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-05 Thread Dan Williams
On Mon, Feb 5, 2018 at 1:44 PM, Alex Williamson wrote: > On Sun, 04 Feb 2018 15:05:30 -0800 > Dan Williams wrote: > >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-05 Thread Dan Williams
On Mon, Feb 5, 2018 at 1:44 PM, Alex Williamson wrote: > On Sun, 04 Feb 2018 15:05:30 -0800 > Dan Williams wrote: > >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps filesystem blocks directly. >> This means that the filesystem

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-05 Thread Alex Williamson
On Sun, 04 Feb 2018 15:05:30 -0800 Dan Williams wrote: > Filesystem-DAX is incompatible with 'longterm' page pinning. Without > page cache indirection a DAX mapping maps filesystem blocks directly. > This means that the filesystem must not modify a file's block map

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-05 Thread Alex Williamson
On Sun, 04 Feb 2018 15:05:30 -0800 Dan Williams wrote: > Filesystem-DAX is incompatible with 'longterm' page pinning. Without > page cache indirection a DAX mapping maps filesystem blocks directly. > This means that the filesystem must not modify a file's block map while > any page in a mapping

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-04 Thread Dan Williams
On Sun, Feb 4, 2018 at 7:46 PM, Haozhong Zhang wrote: > On 02/04/18 15:05 -0800, Dan Williams wrote: >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps filesystem blocks directly. >> This means that the

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-04 Thread Dan Williams
On Sun, Feb 4, 2018 at 7:46 PM, Haozhong Zhang wrote: > On 02/04/18 15:05 -0800, Dan Williams wrote: >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps filesystem blocks directly. >> This means that the filesystem must not modify a

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-04 Thread Haozhong Zhang
On 02/04/18 15:05 -0800, Dan Williams wrote: > Filesystem-DAX is incompatible with 'longterm' page pinning. Without > page cache indirection a DAX mapping maps filesystem blocks directly. > This means that the filesystem must not modify a file's block map while > any page in a mapping is pinned.

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-04 Thread Haozhong Zhang
On 02/04/18 15:05 -0800, Dan Williams wrote: > Filesystem-DAX is incompatible with 'longterm' page pinning. Without > page cache indirection a DAX mapping maps filesystem blocks directly. > This means that the filesystem must not modify a file's block map while > any page in a mapping is pinned.

[PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-04 Thread Dan Williams
Filesystem-DAX is incompatible with 'longterm' page pinning. Without page cache indirection a DAX mapping maps filesystem blocks directly. This means that the filesystem must not modify a file's block map while any page in a mapping is pinned. In order to prevent the situation of userspace holding

[PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-04 Thread Dan Williams
Filesystem-DAX is incompatible with 'longterm' page pinning. Without page cache indirection a DAX mapping maps filesystem blocks directly. This means that the filesystem must not modify a file's block map while any page in a mapping is pinned. In order to prevent the situation of userspace holding