Re: [PATCH 1/1] scsi: Add allow_restart sysfs class attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian King wrote:
This is a resend of a patch I generated in response to an email sent
by Ruben Faelens <parasietje@xxxxxxxxx>. His original email to
linux-scsi requested a method in which he could spin down a scsi disk
when not in use and have the kernel automatically spin it back up when
an I/O was generated to the disk. The infrastructure to automatically
spin a disk up has been in the scsi error handler for some time now,

I am positively surprised that this code is actually already there --- I didn't notice...

but it is not enabled by default. This patch adds an sd sysfs attribute
which allows userspace to enable this behavior.

What is the reason that the code is not enabled by default? Are there dependencies on command set or transport, or firmwares which won't react properly?

There were a few requests for auto-spinup for SBP-2 HDDs during the last months, e.g. https://bugzilla.novell.com/show_bug.cgi?id=183011 . Maybe sbp2 should switch on sdev->allow_restart for all SBP-2 direct access and RBC devices, or at least for those that are known to require it.
--
Stefan Richter
-=====-=-==- -==- ==-==
http://arcgraph.de/sr/
-
: 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux