2004-09-12 13:44:15

by Gunnar Ritter

[permalink] [raw]
Subject: Re: silent semantic changes with reiser4

Chris Siebenmann <[email protected]> wrote:

> I believe that this approach clashes violently with Hans Reiser's
> goals for reiser4, which I believe plans to have every regular file
> also have a stream component (for through-filesystem access to the
> stat data, if nothing else). Many of the other visions on exhibit in
> the thread seem to be almost as expansive, envisioning such streamed
> files used widely for various sorts of content annotation in places
> such as GNOME/KDE.

Although some individuals did tell about their 'visions' in this thread,
there were serious arguments against their use for anything else except
specialities like CIFS support. Many people do just not care about most
of the 'visions'.

> I believe Linus Torvald's 'openat()' approach would maintain POSIX
> compatability, because it doesn't change the POSIX-visible namespace.

But it has the serious problem that handling a S_IFREG file in just the
usual manner will lead to silent data loss. Even with all POSIX issues
left aside, this seems hardly acceptable to me.

> [This is a separate issue to whether it would work better this way,
> or whether it can be POSIX compliant without this. Hans Reiser at least
> seems to not care very much about POSIX compliance for things like this,
> so this sort of argument is unlikely to make him change his activities.]

As long as POSIX is only violated by some patch, people can ignore this
problem by just not applying it. Such will be possible even if Reiser4 is
integrated in the future; lack of POSIX conformance for FAT filesystems is
also not much of an issue.

The interesting point is that future VFS changes do not lead to POSIX
violations.

Gunnar