public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 03/11] scsi/qla1280: replace schedule_timeout() with ssleep()
@ 2005-03-06 22:26 domen
  0 siblings, 0 replies; only message in thread
From: domen @ 2005-03-06 22:26 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, domen, nacc



Use ssleep() instead of schedule_timeout to guarantee the task
delays as expected.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/drivers/scsi/qla1280.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/qla1280.c~ssleep-drivers_scsi_qla1280 drivers/scsi/qla1280.c
--- kj/drivers/scsi/qla1280.c~ssleep-drivers_scsi_qla1280	2005-03-05 16:11:17.000000000 +0100
+++ kj-domen/drivers/scsi/qla1280.c	2005-03-05 16:11:17.000000000 +0100
@@ -2939,7 +2939,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;
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-06 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-06 22:26 [patch 03/11] scsi/qla1280: replace schedule_timeout() with ssleep() domen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox