Re: [linux-usb-devel] question on flushing buffers and spinning down disk

Alan Stern <[email protected]>
Newsgroups gmane.linux.scsi,gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 27 Sep 2007, Oliver Neukum wrote:

> Am Dienstag 25 September 2007 schrieb Alan Stern:
> > Getting all this to work will be tricky, because sd is a block device
> > driven by requests issued through the block layer in atomic context,
> > whereas suspend and resume require a process context.  Probably the 
> > SCSI core would have to get involved in managing the synchronization.
> 
> 
> Well,
> 
> here's a patch that seems to do what needs to be done to make it work.

Oliver, I'm surprised at you!  This patch is a big hack, not to mention 
a layering violation and an inversion of the proper calling sequence.

Alan Stern


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.