Re: [PATCH] filesystem-dax: fix broken __dax_zero_page_range() conversion

2017-05-11 Thread Ross Zwisler
On Wed, May 10, 2017 at 07:49:47PM -0700, Dan Williams wrote: > The conversion of __dax_zero_page_range() to 'struct dax_operations' > caused it to frequently fail. The mistake was treating the @size > parameter as a dax mapping length rather than just a length of the > clear_pmem() operation. The

Re: [PATCH] filesystem-dax: fix broken __dax_zero_page_range() conversion

2017-05-11 Thread Ross Zwisler
On Wed, May 10, 2017 at 07:49:47PM -0700, Dan Williams wrote: > The conversion of __dax_zero_page_range() to 'struct dax_operations' > caused it to frequently fail. The mistake was treating the @size > parameter as a dax mapping length rather than just a length of the > clear_pmem() operation. The

[PATCH] filesystem-dax: fix broken __dax_zero_page_range() conversion

2017-05-10 Thread Dan Williams
The conversion of __dax_zero_page_range() to 'struct dax_operations' caused it to frequently fail. The mistake was treating the @size parameter as a dax mapping length rather than just a length of the clear_pmem() operation. The dax mapping length is assumed to be hard coded as PAGE_SIZE. Without

[PATCH] filesystem-dax: fix broken __dax_zero_page_range() conversion

2017-05-10 Thread Dan Williams
The conversion of __dax_zero_page_range() to 'struct dax_operations' caused it to frequently fail. The mistake was treating the @size parameter as a dax mapping length rather than just a length of the clear_pmem() operation. The dax mapping length is assumed to be hard coded as PAGE_SIZE. Without