On Tue, 2010-05-04 at 15:07 +0200, Hannes Reinecke wrote: > Let's see what the powers that be say to this reasoning. The actual powers that be are on holiday at the moment, I'm just the dog sitter. However, I don't think looping forever on unit attention is a good idea (there are known error cases where devices return unit attention forever). If the device has device mapper stuff, there should already be a device_handler module intercepting this sense code, so we shouldn't switch paths because of it. If there's no device mapper, I think I'd really rather just add the usual number of retries to the sync cache command. I already said I'd be happy with a patch adding this, as well as one allowing a user configurable timeout for the suspend problem. James -- To unsubscribe from this list: 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