From: Nishanth Aravamudan <nacc@xxxxxxxxxx> Use ssleep() instead of schedule_timeout to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan <nacc@xxxxxxxxxx> Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx> --- qla1280.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: quilt/drivers/scsi/qla1280.c =================================================================== --- quilt.orig/drivers/scsi/qla1280.c +++ quilt/drivers/scsi/qla1280.c @@ -2829,7 +2829,7 @@ qla1280_bus_reset(struct scsi_qla_host * ha->bus_settings[bus].failed_reset_count++; } else { spin_unlock_irq(HOST_LOCK); - schedule_timeout(reset_delay * HZ); + ssleep(reset_delay); spin_lock_irq(HOST_LOCK); ha->bus_settings[bus].scsi_bus_dead = 0; -- - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html