Browse Source

[SCSI] libsas: Enable automatic spin-up of SAS disks

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>
Darrick J. Wong 18 years ago
parent
commit
f27708fc75
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/scsi/libsas/sas_scsi_host.c

+ 2 - 0
drivers/scsi/libsas/sas_scsi_host.c

@@ -723,6 +723,8 @@ int sas_slave_configure(struct scsi_device *scsi_dev)
 		scsi_deactivate_tcq(scsi_dev, 1);
 		scsi_deactivate_tcq(scsi_dev, 1);
 	}
 	}
 
 
+	scsi_dev->allow_restart = 1;
+
 	return 0;
 	return 0;
 }
 }