diff options
author | Brian King <brking@us.ibm.com> | 2006-06-27 12:10:31 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-28 12:39:06 -0400 |
commit | a144c5ae0956fb262e6c82624c82b1110a451437 (patch) | |
tree | 5ce95ee7f08af2e2da257a8d7039e5c63b08db38 /drivers/scsi/scsi_scan.c | |
parent | 3bdad7bd253f17ead00b4af2e82f84e9522c95ac (diff) |
[SCSI] scsi: Add allow_restart sysfs class attribute
This is a resend of a patch I generated in response to an email sent
by Ruben Faelens <parasietje@gmail.com>. 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,
but it is not enabled by default. This patch adds an sd sysfs attribute
which allows userspace to enable this behavior.
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
0 files changed, 0 insertions, 0 deletions