parallel writes to the same file, 2.3.7

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Tue, 22 Jun 1999 16:26:25 +0200 (CEST)


> 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.
With 2.3.7 file-writes are no more serialized with the inode semaphore.
(we have a per-page semaphore-alike lock that serializes multiple writes
to the same page, but reads can still happen in parallel even if the page
lock is held.)

-- mingo

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