Re: [PATCH 7/8] xfs: Support for transparent PUD pages

2016-01-04 Thread Matthew Wilcox
On Mon, Jan 04, 2016 at 10:41:21PM +0200, Kirill A. Shutemov wrote: > On Mon, Jan 04, 2016 at 07:33:56AM +1100, Dave Chinner wrote: > > Then in __dax_fault() you can check vmf->flags and call the > > appropriate __dax_p{te,md,ud}_fault function, all without the > > filesystem having to care about t

Re: [PATCH 7/8] xfs: Support for transparent PUD pages

2016-01-04 Thread Kirill A. Shutemov
On Mon, Jan 04, 2016 at 07:33:56AM +1100, Dave Chinner wrote: > On Sat, Jan 02, 2016 at 11:43:09AM -0500, Matthew Wilcox wrote: > > On Thu, Dec 31, 2015 at 10:30:27AM +1100, Dave Chinner wrote: > > > > @@ -1637,6 +1669,7 @@ xfs_filemap_pfn_mkwrite( > > > > static const struct vm_operations_struct

Re: [PATCH 7/8] xfs: Support for transparent PUD pages

2016-01-03 Thread Dave Chinner
On Sat, Jan 02, 2016 at 11:43:09AM -0500, Matthew Wilcox wrote: > On Thu, Dec 31, 2015 at 10:30:27AM +1100, Dave Chinner wrote: > > > @@ -1637,6 +1669,7 @@ xfs_filemap_pfn_mkwrite( > > > static const struct vm_operations_struct xfs_file_vm_ops = { > > > .fault = xfs_filemap_fault, > > >

Re: [PATCH 7/8] xfs: Support for transparent PUD pages

2016-01-02 Thread Matthew Wilcox
On Thu, Dec 31, 2015 at 10:30:27AM +1100, Dave Chinner wrote: > > @@ -1637,6 +1669,7 @@ xfs_filemap_pfn_mkwrite( > > static const struct vm_operations_struct xfs_file_vm_ops = { > > .fault = xfs_filemap_fault, > > .pmd_fault = xfs_filemap_pmd_fault, > > + .pud_fault =

Re: [PATCH 7/8] xfs: Support for transparent PUD pages

2015-12-30 Thread Dave Chinner
On Thu, Dec 24, 2015 at 11:20:36AM -0500, Matthew Wilcox wrote: > From: Matthew Wilcox > > Call into DAX to provide support for PUD pages, just like the PMD cases. > > Signed-off-by: Matthew Wilcox > --- > fs/xfs/xfs_file.c | 33 + > fs/xfs/xfs_trace.h | 1 + >

[PATCH 7/8] xfs: Support for transparent PUD pages

2015-12-24 Thread Matthew Wilcox
From: Matthew Wilcox Call into DAX to provide support for PUD pages, just like the PMD cases. Signed-off-by: Matthew Wilcox --- fs/xfs/xfs_file.c | 33 + fs/xfs/xfs_trace.h | 1 + 2 files changed, 34 insertions(+) diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_f