[lkml]   [2009]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ext2: clear uptodate flag on super block I/O error

    > I think the real fix is to avoid clearing uptodate in case of io errors.
    > For read io errors, the buffer/page should not have been uptodate to
    > start with, and for write io errors, an error writing back the buffer
    > does not mean it is somehow no longer the most uptodate copy of the data.
    > Higher level policy about IO errors (whether to retry, ignore, throw
    > out the data, etc) would be nice to implement properly too, but that is
    > not really the job of the low level cache and IO routines.
    > I proposed some patches a while back but didn't get much interest.
    > Maybe I should just ask someone to merge them.

    I am interested in fixing current releases. But I agree it should be handled
    in a general way in future.

     \ /
      Last update: 2009-11-17 18:19    [W:0.020 / U:81.308 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site