lkml.org 
[lkml]   [2021]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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.

    \
     
     \ /
      Last update: 2021-02-10 14:22    [W:4.107 / U:0.184 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site