Re: [PATCH v13 3/7] pagemap,pmem: Introduce ->memory_failure()

From: HORIGUCHI NAOYA(堀口 直也)
Date: Thu Apr 21 2022 - 02:55:36 EST


On Tue, Apr 19, 2022 at 12:50:41PM +0800, Shiyang Ruan wrote:
> When memory-failure occurs, we call this function which is implemented
> by each kind of devices. For the fsdax case, pmem device driver
> implements it. Pmem device driver will find out the filesystem in which
> the corrupted page located in.
>
> With dax_holder notify support, we are able to notify the memory failure
> from pmem driver to upper layers. If there is something not support in
> the notify routine, memory_failure will fall back to the generic hanlder.
>
> Signed-off-by: Shiyang Ruan <ruansy.fnst@xxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Looks good to me, thank you.

Reviewed-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>