Am Montag, 16. Januar 2012, 17:45:16 schrieb Alan Stern: > On Mon, 16 Jan 2012, Oliver Neukum wrote: > > That is exactly the problem I had putting it into the storage driver. > > I must not resume the disk for those commands, but I need to > > do so for other commands. > > That's why it would have to be done at the sd level or below. Below is > better; otherwise you end up duplicating code for all sorts of > different block devices. OK, before we contine, one question. It seems to me that you are making a fundamental assumption here: 1. During the execution of a command, we never suspend a host controller 2. There are no sequences of commands within which the host controller and devices must not be suspended unless the block layer knows about them. Are you making this assumption and if so, why? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html