> Not that I would recommend swapping over USB anyway....

Why is that?  The USB 2.0 disks seem like bandwidth won't
be an issue.  Is it the iffy error handling going through SCSI?


> Suggestions for how to fix it?

And precisely what is the issue -- is usb-storage ignoring
information in the SCSI requests that blocking on memory
is forbidden for particular requests, or isn't SCSI passing that
kind of requirement down for swap requests?

Seems to me that if GFP_KERNEL allocation is an issue,
every (!) I/O request path is going to need to pass memory
allocation flags down.  That capability isn't in the usbcore
API today (URBs).  Do we need to add a new flag to
tell host controller drivers to only use GFP_ATOMIC?
(URB_MEM_ATOMIC or somesuch.)


- Dave




_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to