Re: -mm -> 2.6.13 merge status
From: Hans Reiser
Date: Tue Jun 21 2005 - 15:16:26 EST
Jeff Garzik wrote:
>
>
>> reiser4
>>
>>
>
>
> The plugin stuff is crap. This is not a filesystem but a filesystem +
> new layer. IMO considered in that light, it duplicates functionality
> elsewhere.
What functionality where? Please remember that this is per file, per
item, per node, per attribute, per disk format, per bitmap, per super
block, etc., abstracting, not per filesystem abstracting.
Plugins allow a number of things:
1) They allow us to never pay the cost to change the disk format again,
no matter how much we add in future years. This really matters: the
prohibitive cost of disk format changes are the number one impediment to
filesystem improvements, and the primary reason why most filesystems
ossify after time has past.
2) They allow us to easily structure code for reuse. If we want to
create a new kind of file that is like some other kind of file except
for one thing, we just write the one thing, and then easily reuse all
the other code, and create a new plugin id.
The use of plugins forced all the programmers to think about reusability
at every layer of design. V3 of reiserfs is way too hard to work on and
modify. If you ask one of the team to code something for V3 instead of
V4, they quietly groan at the thought. It is just so much easier to do
in V4.
When I asked one of our team to completely change the key assignment
algorithm for V4 (which controls what things get packed near what in the
tree), he complained that it would take 6 weeks to do it. Under V3 it
would have taken 3 months. It took him 3 days, and now to change it
again would take him 3 hours I think. Oh, by the way, the change
boosted performance dramatically.
If you take the time to become familiar with coding within our plugin
layer, I think you will find yourself wanting the same to exist for
other filesystems. Of course, no other filesystem needs to be impacted
by our plugin layer, and there is no way reiser4 could easily be
rewritten to exist without it (it would be like requiring that the
kernel not use function calls and only use gotos).
Reiser4's plugin layer has as its explicit objective making it possible
for the weekend hacker to add something useful to reiser4 and send it in
for inclusion. We want to democratize filesystem innovation so that
random bright guys who usually work on something other than filesystems
can act on their bright ideas without spending 3 years in the filesystem
field to do it. I believe that most great filesystem innovations are
envisioned by persons not working on filesystems, and go nowhere because
of the especially high cost of entry into our field.
I am not as bright as other filesystem developers, and so we must tinker
with three ideas and keep one of them. The speed of tinkering is
crucial to us, and the plugin layer increases that speed several fold.
Please reconsider your view.
-
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/