Re: Multiple simultaneous writes

Philip Blundell (philb@gnu.org)
Sun, 24 Jan 1999 17:29:06 +0100


>writes. However, something external to the device driver seems to prevent
>this. If a write is pending, no other writes get through to the driver
>(even though the pending process is nicely sleeping away). Other I/O calls

There's a semaphore protecting the inode from concurrency. Look at sys_write
in fs/read_write.c. I can't think of any easy way to avoid this other than to
manually up and down the semaphore inside your write routine.

p.

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