General comment on USB...
Just some food for thought.
Many host controllers deal with special cases by filtering, or validating, or massaging SCSI cdb's passed to them, before queueing them for execution by the target.
Instead of changing the core kernel's scanning logic (or other logic) because of buggy USB storage devices, punt that duty to the USB storage core. USB, not core SCSI, needs to know about buggy devices it will deal with, and work around them.
Jeff
Quoted 1 line · Jeff Garzik
Many host controllers deal with special cases by filtering, or
I mean "host controller _drivers_" here. Not the host controllers themselves.
Jeff