On Tue, 30 Nov 2004, Meelis Roos wrote: > > I do not see a good solution at this time. > > > > rwsem is a non-starter. IMHO, rwsems are optimizations for normal > > semaphores, > > and the code must remain correct regardless what is used. > > Why is an additional lock needed at all? Why can't we just use devsem?
Because of the need to synchronize with the usb-storage driver. devsem exists only within the usbfs code. > Also, what exactly is the correctness issue here? As Oliver explained, some USB mass storage devices will crash if they receive a control message while carrying out an I/O operation. Alan Stern ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
