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

2018-01-07 Thread Theodore Ts'o
On Wed, Jan 03, 2018 at 11:08:43AM +0100, 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 block allocation). Add > argument to dax_iomap_fault() for

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

2018-01-03 Thread Jan Kara
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 block allocation). Add argument to dax_iomap_fault() for passing such error. Reviewed-by: Ross Zwisler

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 1/2] dax: Pass detailed error code from dax_iomap_fault()

2017-12-21 Thread Ross Zwisler
On Thu, Dec 21, 2017 at 05:30:54PM +0100, 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 block allocation). Add > argument to dax_iomap_fault() for

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

2017-12-21 Thread Dan Williams
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 block allocation). Add > argument to dax_iomap_fault()

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

2017-12-21 Thread Jan Kara
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 block allocation). Add argument to dax_iomap_fault() for passing such error. Signed-off-by: Jan Kara ---

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

2017-12-13 Thread Jan Kara
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 block allocation). Add argument to dax_iomap_fault() for passing such error. Signed-off-by: Jan Kara ---