Re: [PATCH] CacheFS - general filesystem cache

From: David Howells
Date: Fri Aug 27 2004 - 05:25:28 EST


>
> Heh:
>
> Three levels of indirection are currently supported:
>
> - single indirection
> - double indirection
>
> somebody has trouble counting.

Not really. I struck triple indirection off the list because I decided not to
go that far yet. I haven't yet persuaded emacs to automatically update counting
words in this situation:-)

> More seriously, I'd _really_ love to see something like a "swapfs", ie
> tmpfs with cachefs as a backing store. It would be a lot more useful for
> testing that AFS+cachefs, and would hopefully also act as a example of how
> to use it _without_ having to worry about AFS.
>
> Is that possible?

Ramfs with on-disc caching, perhaps? :-)

I'd have to provide cache file pinning to prevent them being automatically
recycled, but I want to do that anyway for other reasons.

It'd also be nice to be able to use it as emergency swap, but I think that
might be a little tricky, though if you pin a file, give it a maximum size, and
swap it on you could probably do that.

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