Re: [PATCH] Re: 2.5.67: ppa driver & preempt == oops

From: Robert Love (rml@tech9.net)
Date: Tue Apr 15 2003 - 16:37:56 EST


On Tue, 2003-04-15 at 15:00, Patrick Mansfield wrote:

> We never hold the host_lock while calling the detect function (unlike the
> io_request_lock, see the bizzare 2.4 code), so acquiring it inside
> ppa_detect is very wrong. I don't know why your scsi scan did not hang.

I do not have this device so I cannot test it, but your logic seems
correct.

This is a much nicer fix for the preempt-related issues than others
proposed, too.

Anyone out there who _can_ mount the device? Can you test this? It
ought to be merged if it works. We need to get device drivers in 2.5 up
to par..

        Robert Love

-
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 : Tue Apr 15 2003 - 22:00:37 EST