Re: [PATCH 2/2] ext4: Fix ENOSPC handling in DAX page fault handler
From: Ross Zwisler <hidden>
Date: 2017-12-21 17:17:03
Also in:
linux-fsdevel, nvdimm
From: Ross Zwisler <hidden>
Date: 2017-12-21 17:17:03
Also in:
linux-fsdevel, nvdimm
On Thu, Dec 21, 2017 at 05:30:55PM +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(). Signed-off-by: Jan Kara <redacted>
Looks good. Reviewed-by: Ross Zwisler <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>