Re: looking for cachefs info/faq and benchmarks
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Mitch Crane wrote:
Currently I am running FS-cache + cachefiles on centos 5.3 with 220.127.116.11 from kernel.org.. after downgrading nfs-utils (see notes below) and installing cachefiles-0.9 I have mounted my block device (formatted ext3, with xattr turned on) and I have modified /etc/cachefilesd.conf to point to a directory under that mount point. I believe this is working, as I can see "cache" and "graveyard" being populated under that directory.. and dmesg tells me: FS-Cache: Cache "mycache" added (type cachefiles) CacheFiles: File cache on xxx registered
I've recently tried to use CentOS 5.3 with a 2.6.31 kernel - along with an earlier RHEL5/CentOS5 nfs-utils from before FS-Cache was disabled in RHEL5/CentOS5 ... unfortunately, the patches Redhat made to 'their' RHEL5 nfs-utils package for the 'fsc' mount option don't work with vanilla 2.6.30 or 2.6.31 kernels ... I believe the 'fsc' mount option gets interpreted as 'nordirplus' by these kernels
It's probably best to build a more recent (non-Redhat) version of nfs-utils from <http://sourceforge.net/projects/nfs/> - you only need the /sbin/mount.nfs binary for it to work.
I also had to add a couple of kernel patches (found on this list) to get things working, although I haven't used FS-cache in anger yet.
James Pearson -- Linux-cachefs mailing list Linux-cachefs@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cachefs
[Linux Resources] [LARTC] [Bugtraq] [Yosemite Forum] [Photo]