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

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

 



Stefan Richter wrote:
> 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 was concern when the patch went in that if it was enabled by default
it would break a bunch of USB devices.

http://marc.theaimsgroup.com/?l=linux-scsi&m=107702811830956&w=2


-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center
-
: 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