lkml.org 
[lkml]   [1999]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Multiple simultaneous writes
Date
> 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/

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