public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* no set_current_state() before schedule_timeout() (OSST)
@ 2004-07-13 17:40 Nishanth Aravamudan
  2004-07-13 23:07 ` [PATCH] " Willem Riede
  0 siblings, 1 reply; 5+ messages in thread
From: Nishanth Aravamudan @ 2004-07-13 17:40 UTC (permalink / raw)
  To: osst; +Cc: osst, linux-scsi, 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/osst.c::osst_reposition_and_retry()

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] 5+ messages in thread

end of thread, other threads:[~2004-07-13 23:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 17:40 no set_current_state() before schedule_timeout() (OSST) Nishanth Aravamudan
2004-07-13 23:07 ` [PATCH] " Willem Riede
2004-07-13 23:36   ` [Kernel-janitors] " Nish Aravamudan
2004-07-13 23:56     ` Nishanth Aravamudan
2004-07-14  0:45     ` Willem Riede

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