Re: is wait_on_buffer needed after getblk?

Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz)
Mon, 13 Dec 1999 22:58:50 +0100 (CET)


> > Some times ago I found a race in buffer code - many filesystems do
> > getblk();mark_buffer_uptodate(); and then write to buffer. If the buffer
> > is under read i/o, written data are lost.
>
> Andrea certainly submitted me some 2.2.x patches for ext2fs for this that I
> merged. I don't know how it stands for 2.3.x

2.2.14pre12 contains the patch (only for ext2, other filesystems are still
buggy). 2.3.31 not.

Mikulas

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