Re: [NFS] Re: problems with reiserfs + nfs using 2.4.2-pre4

Trond Myklebust (trond.myklebust@fys.uio.no)
21 Feb 2001 13:43:08 +0100


>>>>> " " == Neil Brown <neilb@cse.unsw.edu.au> writes:

> - cannot do ".." lookups efficiently, or doesn't want to and
> - can protect against this sort of loop (and any other issues
> that
> the VFS usually protects against) itself

> then it can (with my patch) simply define decode_fh and
> encode_fh and do whatever it likes, such as create a dentry
> that isn't properly connected.

Do we really want to design for this though?

Being able to look up the parent directory is explicitly encoded in
all revisions of the NFS protocol. In NFSv2/v3 the names '.' and '..'
have a clearly defined meaning, whereas in NFSv4 you are required to
support LOOKUPP.

I can't speculate about the needs of other networked filesystems which
may want to use this handle interface, but as far NFS is concerned we
are not interested in considering such special cases.

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/