Re: parallel writes to the same file, 2.3.7

Alexander Viro (viro@math.psu.edu)
Tue, 22 Jun 1999 12:12:04 -0400 (EDT)


On Tue, 22 Jun 1999, Ingo Molnar wrote:

>
> > the 2.3.7 pagecache changes give so much more than just raw SMP
> > performance:
>
> forgot to mention another, 'much requested' Linux feature that has been
> added/enabled by the new pagecache: now file writes can happen in
> parallel, even at once (if on an SMP box).
>
> Until 2.3.7 all file writes were serialized by the 'inode semaphore', ie.
> one big write excluded all other writers until the big write finished.

Caution: side effect of that change was not pretty. truncate() used to be
serialized wrt write(). Now it isn't. We might contract some races here.

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