Messages in this thread | | | From | (Alan Cox) | Subject | Re: Multiple simultaneous writes | Date | Sun, 24 Jan 1999 20:53:56 +0000 (GMT) |
| |
> I am writing a device driver that needs to handle multiple simultaneous > 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 > get through fine (a new open() call comes through while there is a write > pending, for example), but not additional writes. > > Is there something I need to do to tell the "powers that be" that my > driver can handle multiple writes?
Look at the tty code - you need to drop the inode write semaphore, then all will work the way you wish.
- 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/
| |