lkml.org 
[lkml]   [2000]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: The INN/mmap bug


    On Mon, 18 Sep 2000, Chris Mason wrote:
    >
    > ReiserFS depends on the buffer head up to date flag being correct when it
    > is sent to get_block. When unpacking the tail, we have to know if the
    > packed data on disk should be copied over the data in the page.
    >
    > So, the above should work for us if you tested Page_Uptodate before testing
    > buffer_mapped.

    Can't be done.

    A up-to-date but non-mapped buffer is a perfectly valid thing to have -
    it's just a hole.

    So we can't mark the buffer uptodate before marking it mapped - that would
    be a totally different state.

    Linus

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:39    [W:0.050 / U:65.372 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site