Returned mail: Data format error

2018-01-02 Thread bruno . randolf
.#ï|?±¢ƒÓ#’ãßy÷»?í»¶æ$áñÐŅ…)ùŽ„_NÄõåЦá÷Oàï}gG“”'b–P3í–5BY… ¿ŸJ&Û¨0™ò‰mÇ£.Ù76,Ï7&©œ×ª.<ºèµëvtª”Yé ×ã°°Î\

Re: [PATCH v4 18/18] xfs, dax: wire up dax_flush_dma support via a new xfs_sync_dma helper

2018-01-02 Thread Dan Williams
On Tue, Jan 2, 2018 at 3:00 PM, Dave Chinner wrote: > On Sat, Dec 23, 2017 at 04:57:37PM -0800, Dan Williams wrote: >> xfs_break_layouts() scans for active pNFS layouts, drops locks and >> rescans for those layouts to be broken. xfs_sync_dma performs >> xfs_break_layouts and

Re: [PATCH v4 07/18] dax: store pfns in the radix

2018-01-02 Thread Dan Williams
On Tue, Dec 26, 2017 at 4:17 PM, Ross Zwisler wrote: > On Sat, Dec 23, 2017 at 04:56:38PM -0800, Dan Williams wrote: >> In preparation for examining the busy state of dax pages in the truncate >> path, switch from sectors to pfns in the radix. >> >> Cc: Jan Kara

Re: [PATCH v4 18/18] xfs, dax: wire up dax_flush_dma support via a new xfs_sync_dma helper

2018-01-02 Thread Dave Chinner
On Tue, Jan 02, 2018 at 06:21:13PM -0800, Dan Williams wrote: > On Tue, Jan 2, 2018 at 3:00 PM, Dave Chinner wrote: > > On Sat, Dec 23, 2017 at 04:57:37PM -0800, Dan Williams wrote: > >> xfs_break_layouts() scans for active pNFS layouts, drops locks and > >> rescans for those

Re: [PATCH 1/2] dax: Pass detailed error code from dax_iomap_fault()

2018-01-02 Thread Dan Williams
On Tue, Jan 2, 2018 at 10:54 AM, Jan Kara wrote: > On Thu 21-12-17 09:12:52, Dan Williams wrote: >> On Thu, Dec 21, 2017 at 8:30 AM, Jan Kara wrote: >> > Ext4 needs to pass through error from its iomap handler to the page >> > fault handler so that it can properly

Re: [PATCH 1/2] dax: Pass detailed error code from dax_iomap_fault()

2018-01-02 Thread Jan Kara
On Thu 21-12-17 09:12:52, Dan Williams wrote: > On Thu, Dec 21, 2017 at 8:30 AM, Jan Kara wrote: > > Ext4 needs to pass through error from its iomap handler to the page > > fault handler so that it can properly detect ENOSPC and force > > transaction commit and retry the fault (and

Re: [PATCH v4 18/18] xfs, dax: wire up dax_flush_dma support via a new xfs_sync_dma helper

2018-01-02 Thread Darrick J. Wong
On Sat, Dec 23, 2017 at 04:57:37PM -0800, Dan Williams wrote: > xfs_break_layouts() scans for active pNFS layouts, drops locks and > rescans for those layouts to be broken. xfs_sync_dma performs > xfs_break_layouts and also scans for active dax-dma pages, drops locks > and rescans for those pages

Re: [PATCH v4 11/18] fs, dax: introduce DEFINE_FSDAX_AOPS

2018-01-02 Thread Dave Chinner
On Sat, Dec 23, 2017 at 04:56:59PM -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

Re: [PATCH v4 08/18] tools/testing/nvdimm: add 'bio_delay' mechanism

2018-01-02 Thread Dave Chinner
On Sat, Dec 23, 2017 at 04:56:43PM -0800, Dan Williams wrote: > In support of testing truncate colliding with dma add a mechanism that > delays the completion of block I/O requests by a programmable number of > seconds. This allows a truncate operation to be issued while page > references are held

Re: [PATCH v4 08/18] tools/testing/nvdimm: add 'bio_delay' mechanism

2018-01-02 Thread Dan Williams
On Wed, Dec 27, 2017 at 10:08 AM, Ross Zwisler wrote: > On Sat, Dec 23, 2017 at 04:56:43PM -0800, Dan Williams wrote: >> In support of testing truncate colliding with dma add a mechanism that >> delays the completion of block I/O requests by a programmable number of

Re: [PATCH v4 11/18] fs, dax: introduce DEFINE_FSDAX_AOPS

2018-01-02 Thread Dan Williams
On Tue, Dec 26, 2017 at 9:29 PM, Matthew Wilcox wrote: > On Sat, Dec 23, 2017 at 04:56:59PM -0800, Dan Williams wrote: >> +int dax_set_page_dirty(struct page *page) >> +{ >> + /* >> + * Unlike __set_page_dirty_no_writeback, dax does all dirty >> + * tracking in

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

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 >>

Re: [PATCH v4 08/18] tools/testing/nvdimm: add 'bio_delay' mechanism

2018-01-02 Thread Dan Williams
On Tue, Jan 2, 2018 at 1:44 PM, Dave Chinner wrote: > On Sat, Dec 23, 2017 at 04:56:43PM -0800, Dan Williams wrote: >> In support of testing truncate colliding with dma add a mechanism that >> delays the completion of block I/O requests by a programmable number of >> seconds.

RE: [PATCH] nvdimm: Remove minimum size requirement

2018-01-02 Thread Cheng-mean Liu (SOCCER)
Hi Dan: This is regarding the new unittest failure from the reducing ND_MIN_NAMESPACE_SIZE from 0x0040 to 0x1000. Code change: My current changes: In https://github.com/torvalds/linux include/uapi/linux/ndctl.h --- a/include/uapi/linux/ndctl.h +++ b/include/uapi/linux/ndctl.h

Re: [PATCH v4 18/18] xfs, dax: wire up dax_flush_dma support via a new xfs_sync_dma helper

2018-01-02 Thread Dave Chinner
On Sat, Dec 23, 2017 at 04:57:37PM -0800, Dan Williams wrote: > xfs_break_layouts() scans for active pNFS layouts, drops locks and > rescans for those layouts to be broken. xfs_sync_dma performs > xfs_break_layouts and also scans for active dax-dma pages, drops locks > and rescans for those pages