Commit f27708fc authored by Darrick J. Wong's avatar Darrick J. Wong Committed by James Bottomley

[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: default avatarDarrick J. Wong <djwong@us.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 111367f5
...@@ -723,6 +723,8 @@ int sas_slave_configure(struct scsi_device *scsi_dev) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment