[Linux-cachefs] [BUG] fscache writing but not reading
David Howells
dhowells at redhat.com
Fri May 19 09:40:12 UTC 2023
Chris Chilvers <chilversc at gmail.com> wrote:
> While testing the fscache performance fixes [1] that were merged into 6.4-rc1
> it appears that the caching no longer works. The client will write to the cache
> but never reads.
Can you try reading from afs? You would need to enable CONFIG_AFS_FS in your
kernel if it's not already set.
Install kafs-client and do:
systemctl enable afs.mount
md5sum /afs/openafs.org/software/openafs/1.9.1/openafs-1.9.1-doc.tar.bz2
cat /proc/fs/fscache/stats
umount /afs/openafs.org
md5sum /afs/openafs.org/software/openafs/1.9.1/openafs-1.9.1-doc.tar.bz2
cat /proc/fs/fscache/stats
David
More information about the Linux-cachefs
mailing list