Re: is wait_on_buffer needed after getblk?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 13 Dec 1999 21:37:15 +0000 (GMT)


> 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

-
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/