lkml.org 
[lkml]   [1999]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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
automatically?

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.077 / U:1.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site