]> err.no Git - linux-2.6/commitdiff
[SCSI] libsas: Enable automatic spin-up of SAS disks
authorDarrick J. Wong <djwong@us.ibm.com>
Fri, 26 Jan 2007 22:08:58 +0000 (14:08 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 27 Jan 2007 16:07:21 +0000 (10:07 -0600)
Set allow_restart=1 for all SAS disks so that they are spun up when needed.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_scsi_host.c

index eac1d2dde743daf23016d2a1ce372485a6725131..04eace9020ba14fffd0bccf54acecb9bb4f3eada 100644 (file)
@@ -723,6 +723,8 @@ int sas_slave_configure(struct scsi_device *scsi_dev)
                scsi_deactivate_tcq(scsi_dev, 1);
        }
 
+       scsi_dev->allow_restart = 1;
+
        return 0;
 }