Re: [PATCH v4 12/18] xfs: use DEFINE_FSDAX_AOPS

2018-01-04 Thread Christoph Hellwig
On Sat, Dec 23, 2017 at 04:57:04PM -0800, Dan Williams wrote: > In preparation for the dax implementation to start associating dax pages > to inodes via page->mapping, we need to provide a 'struct > address_space_operations' instance for dax. Otherwise, direct-I/O > triggers incorrect page cache as

Re: [PATCH v4 12/18] xfs: use DEFINE_FSDAX_AOPS

2018-01-03 Thread Jan Kara
On Tue 02-01-18 13:40:32, Dan Williams wrote: > On Tue, Jan 2, 2018 at 1:15 PM, Darrick J. Wong > wrote: > > On Sat, Dec 23, 2017 at 04:57:04PM -0800, Dan Williams wrote: > >> In preparation for the dax implementation to start associating dax pages > >> to inodes via page->mapping, we need to pro

Re: [PATCH v4 12/18] xfs: use DEFINE_FSDAX_AOPS

2018-01-02 Thread Dan Williams
On Tue, Jan 2, 2018 at 1:15 PM, Darrick J. Wong wrote: > On Sat, Dec 23, 2017 at 04:57:04PM -0800, Dan Williams wrote: >> In preparation for the dax implementation to start associating dax pages >> to inodes via page->mapping, we need to provide a 'struct >> address_space_operations' instance for

Re: [PATCH v4 12/18] xfs: use DEFINE_FSDAX_AOPS

2018-01-02 Thread Darrick J. Wong
On Sat, Dec 23, 2017 at 04:57:04PM -0800, Dan Williams wrote: > In preparation for the dax implementation to start associating dax pages > to inodes via page->mapping, we need to provide a 'struct > address_space_operations' instance for dax. Otherwise, direct-I/O > triggers incorrect page cache as

[PATCH v4 12/18] xfs: use DEFINE_FSDAX_AOPS

2017-12-23 Thread Dan Williams
In preparation for the dax implementation to start associating dax pages to inodes via page->mapping, we need to provide a 'struct address_space_operations' instance for dax. Otherwise, direct-I/O triggers incorrect page cache assumptions and warnings. Cc: "Darrick J. Wong" Cc: linux-...@vger.ker