Re: [PATCH v2 11/11] xfs: add support for DAX fsync/msync

2015-11-19 Thread Dave Chinner
On Tue, Nov 17, 2015 at 12:03:41PM -0700, Ross Zwisler wrote: > On Tue, Nov 17, 2015 at 10:12:22AM +1100, Dave Chinner wrote: > > On Fri, Nov 13, 2015 at 05:06:50PM -0700, Ross Zwisler wrote: > > > To properly support the new DAX fsync/msync infrastructure filesystems > > > need to call dax_pfn_mkw

Re: [PATCH v2 11/11] xfs: add support for DAX fsync/msync

2015-11-17 Thread Ross Zwisler
On Tue, Nov 17, 2015 at 10:12:22AM +1100, Dave Chinner wrote: > On Fri, Nov 13, 2015 at 05:06:50PM -0700, Ross Zwisler wrote: > > To properly support the new DAX fsync/msync infrastructure filesystems > > need to call dax_pfn_mkwrite() so that DAX can properly track when a user > > write faults on

Re: [PATCH v2 11/11] xfs: add support for DAX fsync/msync

2015-11-16 Thread Dave Chinner
On Fri, Nov 13, 2015 at 05:06:50PM -0700, Ross Zwisler wrote: > To properly support the new DAX fsync/msync infrastructure filesystems > need to call dax_pfn_mkwrite() so that DAX can properly track when a user > write faults on a previously cleaned address. They also need to call > dax_fsync() in

[PATCH v2 11/11] xfs: add support for DAX fsync/msync

2015-11-13 Thread Ross Zwisler
To properly support the new DAX fsync/msync infrastructure filesystems need to call dax_pfn_mkwrite() so that DAX can properly track when a user write faults on a previously cleaned address. They also need to call dax_fsync() in the filesystem fsync() path. This dax_fsync() call uses addresses re