Re: [PATCH] AFS filesystem for Linux (2/2)

Jan Harkes
2002-10-03T17:40:09Z

On Thu, Oct 03, 2002 at 12:53:04PM -0400, Jan Harkes wrote:
> On Thu, Oct 03, 2002 at 10:05:39AM +0100, David Howells wrote:
> > To have a heterogenous cache, the VLDB record and vnode index records could be
> > extended to 2K or 4K in size, or maybe separate catalogues and indices could
> > be maintained for different filesystem types, and a 0th tier could be a
> > catalogue of different types held within this cache, complete with information
> > as to the entry sizes of the tier 1, 2 and 3 catalogues.
>
> Or you could use a hash or a userspace daemon that can map a fs-specific
> handle to a local cache file.

I just thought of the fh_to_dentry stuff that is used by knfsd. Those
fh keys should be just the right (and fs independent) thing to index
such a generic fs-cache with.

Jan