Re: metadata plugins (was Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion)

David Masover
2006-08-05T01:01:17Z

Horst H. von Brand wrote:
> Vladimir V. Saveliev <vs@namesys.com> wrote:
>> On Tue, 2006-08-01 at 17:32 +0200, Åukasz Mierzwa wrote:

>>> What fancy (beside cryptocompress) does reiser4 do now?
>> it is supposed to provide an ability to easy modify filesystem behaviour
>> in various aspects without breaking compatibility.
>
> If it just modifies /behaviour/ it can't really do much. And what can be
> done here is more the job of the scheduler, not of the filesystem. Keep your
> hands off it!

Say wha?

There's a lot you can do with the _representation_ of the on-disk format
without changing the _physical_ on-disk format. As a very simple
example, a plugin could add a sysfs-like folder with information about
that particular filesystem. Yes, I know there are better ways to do
things, but there are things you can change about behavior without (I
think) touching the scheduler.

Or am I wrong about the scope of the "scheduler"?

> If it somehow modifies /on disk format/, it (by *definition*) isn't
> compatible. Ditto.

Cryptocompress is compatible with kernels that have a working
cryptocompress plugin. Other kernels will notice that they are meant to
be read by cryptocompress, and (I hope) refuse to read files they won't
be able to.

Same would be true of any plugin that changes the disk format.

But, the above comments about behavior still hold. There's a lot you
can do with plugins without changing the on-disk format. If you want a
working example, look to your own favorite filesystems that support
quotas, xattrs, and acls -- is an on-disk FS format with those enabled
compatible with a kernel that doesn't support them (has them turned
off)? How about ext3, with its journaling -- is the journaling all in
the scheduler? But isn't the ext3 disk format compatible with ext2?

>> quota support
>> xattrs and acls
>
> Without those, it is next to useless anyway.

What is? The FS? I use neither on desktop machines, though I'd
appreciate xattrs for Beagle.

Or are you talking about the plugins? See above, then.