Re: [PATCH] int (*readpage)(struct file *, struct page *);

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Thu May 11 2000 - 13:02:00 EST


>>>>> " " == Linus Torvalds <torvalds@transmeta.com> writes:

> Also note that the regular "symlink in page cache" helper
> routines might notbe appropriate even for "normal"
> filesystems. Somebody mentioned the "symlink depends on user"
> issue with some NFS servers. That could be handled by using the
> page cache and indexing it on the "uid", instead of always
> using index 0. But it would mean that the page cache helper
> functions couldn't be used directly for such a symlink setup.

Actually, NFS already has a private scheme precisely because of the
page_symlink 'brokenness'.

Are you serious about the uid indexing thing though? It'd be dead easy
to implement, but do we really want something like this in generic NFS?

Personally, I would have thought that a mount option to turn off
caching of readdir/symlinks/... would be a better solution for those
few cases that need it.

Cheers,
  Trond

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



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:18 EST