Re: [PATCH v4 15/18] mm, fs, dax: use page->mapping to warn if dma collides with truncate

2018-01-04 Thread Jan Kara
On Sat 23-12-17 16:57:20, Dan Williams wrote: > Catch cases where truncate encounters pages that are still under active > dma. This warning is a canary for potential data corruption as truncated > blocks could be allocated to a new file while the device is still > perform i/o. > > Here is an examp

Re: [PATCH v4 15/18] mm, fs, dax: use page->mapping to warn if dma collides with truncate

2018-01-04 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

[PATCH v4 15/18] mm, fs, dax: use page->mapping to warn if dma collides with truncate

2017-12-23 Thread Dan Williams
Catch cases where truncate encounters pages that are still under active dma. This warning is a canary for potential data corruption as truncated blocks could be allocated to a new file while the device is still perform i/o. Here is an example of a collision that this implementation catches: WARN