fa.netbsd.tech.kern
[Top] [All Lists]

Re: blocksizes

Subject: Re: blocksizes
From: Michael van Elst
Date: Mon, 25 Jan 2010 08:10:03 UTC
Newsgroups: fa.netbsd.tech.kern

dholland-tech@xxxxxxxxxx (David Holland) writes:

>Choosing code architectures

'Redesigning' things to fix bugs seems to be common sense
nowadays, as if everything existing is always too bad to be
used.

Of course the same is valid for the redesigned code base in
the future.

One interesting point is that dropping DEV_BSIZE doesn't
really mean something new but a jump backwards. That's where
we came from, that's what was 'redesigned' then.


>In this case, the problem with the way things are is that the way
>things are does not work.

It works fine for 16 years now. The problems only come from legacy
code and code from other sources that wasn't adapted to the then
valid design, mainly because the problems didn't show up immediately
due to lack of hardware.

The software that needs to be fixed is pretty obvious, it's
not a large rototill but if you are into 'redesigning' you
may see a lot of places (unrelated to DEV_BSIZE) that could
be structured better and cleaned up, e.g. partition handling.

And all this should be done, wether you intend to drop or
keep DEV_BSIZE.

-- 
-- 
                                Michael van Elst
Internet: mlelstv@xxxxxxxxxx
                                "A potential Snark may lurk in every tree."

<Prev in Thread] Current Thread [Next in Thread>