Re: weird umem vs nfsd regression

From: Andrew Morton
Date: Fri Jun 18 2010 - 00:18:18 EST


On Fri, 18 Jun 2010 12:54:20 +1000 Neil Brown <neilb@xxxxxxx> wrote:

> > There may also be bugs in the umem driver. Even if the IO errors are
> > bogus, the kernel shouldn't hang up waiting for IO completion as it's
> > doing here.
> >
>
> No? Even if it is due to faulty hardware?
> Do you think the driver should set a timer and disable the card if it hasn't
> heard back for a while?
> I guess that might be reasonable, though if it turns out to be faulty
> hardware I wouldn't trust it on the buss at all...

hm, yes, if a DMA controller goes haywire then adding a timeout
specifically to catch and recover from that one particular hardware
failure mode doesn't seem justified.

If we were going to do that then it should be done centrally at the
block layer with a timer-per-request, tunable on a max(all-end-devices)
basis. blah.

As long as the softlockup detector or NMI watchdog or whatever gives a
useful trace pointing at the problem (as it does) then that's
sufficient.

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