[Linux-cachefs] FS-Cache for NFS-root ?

Wilhelm Meier wilhelm.meier at fh-kl.de
Thu Jan 18 06:58:47 UTC 2007


Am Mittwoch, 17. Januar 2007 21:18 schrieb David Howells:
> Wilhelm Meier <wilhelm.meier at fh-kl.de> wrote:
> > I made a rudimentary initramfs (see attached), but I'm not sure if I did
> > it the right way. The problem is, that the rootfs 
                                               ^^^^^^
this wasn't right, I mean the cache-filesystem remains mounted to the 
unreachable mount-point afetr switch_root.

> > remains mounted (to the 
> > unreachable mount-pount /fscache) after switch_root.
>
> Hmmm...  I think this might have to wait until I get back from my holiday
> in Australia (Feb).  At that point I'll have my test machine to hand again
> and can try it for myself.  Sorry about that.
>
> > How can one get some statistics from cachefilesd? It looks like the cache
> > isn't filled very much: I copied /usr (of the cached root-filesystem)
> > to /dev/null and the cache gets about 13M of data whereas /usr is more
> > than 1G of data.
>
> du, find, /proc/sys/fs/nfs/fscache_*

I don't have these, do I have to enable something special?

>
> I should probably add some stats gathering stuff to FS-Cache when I've
> finished fixing it up .
>
> David
>
> --
> Linux-cachefs mailing list
> Linux-cachefs at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cachefs

-- 
Wilhelm Meier
email: wilhelm.meier at fh-kl.de




More information about the Linux-cachefs mailing list