From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.thunk.org ([74.207.234.97]:34264 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754557AbeAGVvb (ORCPT ); Sun, 7 Jan 2018 16:51:31 -0500 Date: Sun, 7 Jan 2018 16:51:24 -0500 From: Theodore Ts'o To: Jan Kara Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org, Ross Zwisler , Dan Williams Subject: Re: [PATCH 1/2] dax: Pass detailed error code from dax_iomap_fault() Message-ID: <20180107215124.GE17380@thunk.org> References: <20180103100844.12787-1-jack@suse.cz> <20180103100844.12787-2-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180103100844.12787-2-jack@suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 passing such error. > > Reviewed-by: Ross Zwisler > Signed-off-by: Jan Kara Applied, thanks. - Ted