Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}