[lkml]   [1999]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: parallel writes to the same file, 2.3.7

On Tue, 22 Jun 1999, Alan Cox wrote:

> > 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.
> Is this true for char devices too. If so its a welcome change but there
> are a lot of drivers that need fixing 8)

yes 8) The 'easy fix' is to down()/up() the inode semaphore manually in
all the ->write functions. We might want to intentionally 'break' the
file_ops API right now so that these assumption changes get caught

-- mingo

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:52    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean