Am Dienstag 18 September 2007 schrieb James Bottomley: > On Tue, 2007-09-18 at 10:32 +0200, Oliver Neukum wrote: > > which function should a lldd call to make the scsi layer flush > > a device's buffers and spin it down? Which kind of locking is > > required? > > Depends on the context. Is this for suspend? If so it's done > automatically by the sd driver, but the device has to be marked for it > in the manage_start_stop attributes. It is for runtime power management. We've gotten a bug report about a drive enclosure that doesn't properly park heads if the usb device is simply suspended. Apparently it simply cuts power so the cache can be lost, too. Regards Oliver - 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