* no set_current_state() before schedule_timeout() (scsi_lib)
@ 2004-07-13 17:45 Nishanth Aravamudan
0 siblings, 0 replies; only message in thread
From: Nishanth Aravamudan @ 2004-07-13 17:45 UTC (permalink / raw)
To: linux-scsi; +Cc: kernel-janitors
Hi,
In continuing to replace, where appropriate, code with msleep() calls, I
ran across the following file(s) / function(s), which do not invoke
set_current_state() before schedule_timeout(), which causes the latter
to return immediately:
drivers/scsi/scsi_lib.c::scsi_device_quiesce()
If someone could tell me which state (TASK_INTERRUPTIBLE or
TASK_UNINTERRUPTIBLE) is desired, I can fix this and perhaps replace the
calls with msleep().
Thanks,
Nish
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-13 17:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 17:45 no set_current_state() before schedule_timeout() (scsi_lib) Nishanth Aravamudan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox