Re: smp dead lock of io_request_lock/queue_lock patch
From: Doug Ledford
Date: Sat Jan 17 2004 - 08:21:56 EST
On Thu, 2004-01-15 at 12:17, Bill Davidsen wrote:
> Doug Ledford wrote:
>
> > More or less. But part of it also is that a lot of the patches I've
> > written are on top of other patches that people don't want (aka, the
> > iorl patch). I've got a mlqueue patch that actually *really* should go
> > into mainline because it solves a slew of various problems in one go,
> > but the current version of the patch depends on some semantic changes
> > made by the iorl patch. So, sorting things out can sometimes be
> > difficult. But, I've been told to go ahead and do what I can as far as
> > getting the stuff out, so I'm taking some time to try and get a bk tree
> > out there so people can see what I'm talking about. Once I've got the
> > full tree out there, then it might be possible to start picking and
> > choosing which things to port against mainline so that they don't depend
> > on patches like the iorl patch.
>
> If it leads to a more stable kernel, I don't see why iorl can't go in
> (user perspective) because RH is going to maintain it instead of trying
> to find a developer who is competent and willing to do the boring task
> of backfitting bugfixes to sub-optimal code.
We actually intended to leave it out of RHEL3. But, once we started
doing performance testing of RHEL3 vs. AS2.1, it was obvious that if we
didn't put the patch back in we could kiss all of our benchmark results
goodbye. Seriously, it makes that much difference on server systems.
> The only problem I see would be getting testing before calling it
> stable. Putting out a "giant SCSI patch" for test, then into a -test
> kernel should solve that. The fact that RH is stuck supporting this for
> at least five years is certainly both motivation and field test for any
> changes ;-)
See me last email on the testing issue.
> Clearly Marcello has the decision, but it looks from here as if
> stability would be improved by something like this. Assuming that no
> other vendor objects, of course.
Stability, maybe. Ease of writing drivers that work in both 2.4 and 2.6
using the same locking logic, absolutely.
--
Doug Ledford <dledford@xxxxxxxxxx> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
-
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/