[dm-devel] [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

Dan Williams dan.j.williams at intel.com
Fri Aug 20 16:07:30 UTC 2021


On Fri, Jul 30, 2021 at 3:02 AM Shiyang Ruan <ruansy.fnst at fujitsu.com> 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.  And finally call filesystem handler to
> deal with this error.
>
> The filesystem will try to recover the corrupted data if necessary.

This patch looks good to me, but I would fold it into the patch that
first populates ->memory_failure().




More information about the dm-devel mailing list