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

From: dan carpenter (d_carpenter@sbcglobal.net)
Date: Fri Mar 14 2003 - 21:52:21 EST


On Saturday 15 March 2003 08:53 pm, Zwane Mwaikambo wrote:
> 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

Hm... Good question. I have no idea what the while loop is for.

regards,
dan carpenter
-
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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:43 EST