You can sleep in them. You must however release the host lock and enable irqs first and reverse that before returning. The error handlers don't need the host lock, but we're stuck with the unfortunate calling convention for now.
Why are we stuck with this calling convention, when everyone who cares circumvents it?
Jeff
- : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html