From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.thunk.org (imap.thunk.org [IPv6:2600:3c02::f03c:91ff:fe96:be03]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 51E5E21A143F0 for ; Sun, 7 Jan 2018 13:46:27 -0800 (PST) Date: Sun, 7 Jan 2018 16:51:34 -0500 From: Theodore Ts'o Subject: Re: [PATCH 2/2] ext4: Fix ENOSPC handling in DAX page fault handler Message-ID: <20180107215134.GF17380@thunk.org> References: <20180103100844.12787-1-jack@suse.cz> <20180103100844.12787-3-jack@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180103100844.12787-3-jack@suse.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Jan Kara Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-nvdimm@lists.01.org List-ID: On Wed, Jan 03, 2018 at 11:08:44AM +0100, Jan Kara wrote: > When allocation of underlying block for a page fault fails, we fail the > fault with SIGBUS. However we may well hit ENOSPC just due to lots of > free blocks being held by the running / committing transaction. So > propagate the error from ext4_iomap_begin() and implement do standard > allocation retry loop in ext4_dax_huge_fault(). > > Reviewed-by: Ross Zwisler > Signed-off-by: Jan Kara Applied, thanks. - Ted _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm