Re: silent semantic changes with reiser4

Christophe Saout
2004-08-26T14:33:27Z

[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]

Am Donnerstag, den 26.08.2004, 16:05 +0200 schrieb Adrian Bunk:

> > Yes, this was part of the plan, tar file-directory plugins would be cute.
>
> Silly question:
>
> GNU Midnight Commander allows for ages to go into e.g. tar files, so I
> know the benefits of this. Additionally, in GNU Midnight Commander, this
> works no matter which file system I use (e.g. it works on iso9660), and
> it even works the same way on other OS's like e.g. Solaris and NetBSD.
>
> What is the technical reason why a tar plugin should be reiser4
> specific, instead of a generic VFS or userspace solution that would
> allow the same also on other fs like e.g. iso9660?

I don't think that this should be done inside the kernel. tar is a
perfectly valid userspace application.

What reiser4 can do, but the VFS can't is to insert or remove data in
the middle of a file. Adding this above the page cache would probably be
almost impossible (truncate seems already complicated enough).

But below page-cache and thus invisible from the VFS or the applications
it is extremely useful for the compression plugin. When changing some
data in the middle of the file the compressed data might grow in size.
reiser4 can handle this inside the storage layer and doesn't mess with
the rest of the filesystem.

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]