Re: ioctls, etc. (was Re: [PATCH 1/4] sas: add flag for locally attachedPHYs)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Oct 2005, Stefan Richter wrote:

Jeff Garzik wrote:

We differ on the path, not the goal. As a thought experiment, you could try simply implementing the changes requested, and see where that goes.

I doubt that the desired cleanup of the SCSI core could be done on-the-go, i.e. without temporary breakage of larger parts of the subsystem (out of mainline). But then again, I don't know much of the subsystem, so what am I talking about here?

Also, long-term breakage of smaller parts of the SCSI subsystem in mainline is to be expected; breakage which is to be announced and scheduled.

Stefan, what you and Luben are missing is that big-bang changes like you are proposing are simply not acceptable anymore.

a few years ago when the 2.5 kernel series opened a similar big-bang approach was attempted for the IDE drivers. the instability that resulted (and rumors of the instability being worse then it was) eliminated a lot of people from testing things. things finally got bad enough that the entire system was reverted, and then a developer (one who had previously stated that such drastic changes were impossible) sat down and produced a long series of patches, each of which did a small amount of changes, each of which left the kernel in a working state (and each of which provided an advantage that could be identified at the time of the patch, either a better abstraction or a code cleanup). over a very few months (especially relative to the time spent working on the big-bang patches) the entire system was re-written.

This is what Jeff is trying to tell you. you can't just produce an entirely new SCSI subsystem and drop it into the kernel one day, you can all agree on a goal (this has almost been done, but nto quite), but that's only the first step. After you have some idea of the goal you then have to look at how to move to that goal without breaking things in the meantime. This requires that each step along the way keeps things working and is relativly straightforward in and of itself.

this definantly sounds a LOT harder then the 'throw it out and replace it all' approach, and it is (from the point of view of the programmer), however the result ends up being far more reliable as the process forces better examination of all the details, and allows more people to understand what's happening each step of the way. And since there are no releases that are made unuseable for people deliberatly, you also get extensive testing of all the steps along the way. This not only finds bugs sooner, it also makes it far more obvious where performance issues show up

so please accept that you aren't going to be able to replace any significant system in one massive change and instead start looking for ways to move the existing design towards where you want it to be and you will receive a lot of assistance in the process instead of banging heads with everyone.

David Lang

--
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
 -- C.A.R. Hoare
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux