[lkml]   [1999]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Race in buffer code (Was Re: move block #A to block #B on a given device.)
    On Fri, 5 Nov 1999, Mikulas Patocka wrote:
    > There is another - more severe - destruction case: breada. On filesystems
    > that use breada it can smash buffers randomly!

    The whole point of having buffer cache (apart from some performance
    benefit of caching) is to serialize io, i.e. getblk() returns a locked
    buffer and until the caller is done with it nothing can do io on that
    block. So there are (hopefully) no races of the kind you described in
    current or future implementation of buffer cache (as long as it does not
    deviate from old good SVR3 thing described in Bach's book).


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:54    [W:0.017 / U:6.520 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site