Skip to content

Commit

Permalink
[SCSI] libsas: Enable automatic spin-up of SAS disks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Darrick J. Wong authored and James Bottomley committed Jan 27, 2007
1 parent 111367f commit f27708f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/scsi/libsas/sas_scsi_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f27708f

Please sign in to comment.