Re: parallel writes to the same file, 2.3.7

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 22 Jun 1999 16:08:15 +0100 (BST)


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

Finish fixing the page cache first ;) I don't think the char drivers one is
too big a job. I looked at it in the hope of getting 2.2 fixed. The biggest
bugbear is tty, and that already drops the lock itself internally.

Alan

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