Re: Any hope for ide-scsi (error handling)?

Zwane Mwaikambo (zwane@holomorphy.com)
Sat, 15 Mar 2003 14:53:39 -0500 (EST)


On Sat, 15 Mar 2003, dan carpenter wrote:

> On Saturday 15 March 2003 07:55 pm, Zwane Mwaikambo wrote:
> >
> > bad: scheduling while atomic!
> > Call Trace:
> >
>
> 887 spin_lock_irqsave(&ide_lock, flags);
> 888 while (HWGROUP(drive)->handler) {
> 889 HWGROUP(drive)->handler = NULL;
> 890 schedule_timeout(1);
> 891 }
>
> Here is at least one bad call to schedule() in
> static int idescsi_reset (Scsi_Cmnd *cmd)

Apart from the schedule with the ide_lock held, what is that code actually
doing?

Zwane

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/