Messages in this thread | | | Date | Wed, 10 Feb 2021 14:20:55 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3 01/11] pagemap: Introduce ->memory_failure() |
| |
On Mon, Feb 08, 2021 at 06:55:20PM +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 block device where > the error page locates in, and try to get the filesystem on this block > device. And finally call filesystem handler to deal with the error. > The filesystem will try to recover the corrupted data if possiable.
I'm not sure adding just a method without any of the support code is a useful patch on its own.
| |