Am Samstag, 14. August 2010, 03:01:22 schrieb Alan Stern: > On Mon, 9 Aug 2010, Oliver Neukum wrote: > > However, after a bit of thought, it seems to me that if we are going > > for an attribute in sysfs a model based on open/close makes no sense > > for sd. > > The thing is that I see no device that would benefit from that algorithm. > > USB flash drives? Maybe you think they would be better off with an > idle timeout. Yes, that is true. But where is the connection to open/close? > > Are there any devices which can suspend with medium and opened > > which cannot suspend under all circumstances (while not processing > > a command)? > > Rotating drives that need to be spun down shouldn't be suspended if a > command will be issued in the near future. Also, spin-up and spin-down > operations should be minimized, as they cause physical wear. This is true but why can't that be had by a timeout from the last command? > It might be a good idea to ask the people on linux-scsi if they have > any helpful ideas. They may be more familiar with the issues. Good idea. 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