[Linux-cachefs] FScache not working
Rince
rincebrain at gmail.com
Mon Jul 13 16:28:00 UTC 2009
# cat /proc/fs/nfsfs/*
NV SERVER PORT USE HOSTNAME
v4 80dc463e 801 12 mant1
NV SERVER PORT DEV FSID FSC
v4 80dc463e 801 0:19 9eab9d085c14652a no
v4 80dc463e 801 0:22 c8654208da0d3669 no
v4 80dc463e 801 0:20 212b2508ae922d14 no
v4 80dc463e 801 0:21 f0b58c08259e50c5 no
v4 80dc463e 801 0:23 cd9b8d087773ec8f no
v4 80dc463e 801 0:24 ef1fea0808113729 no
v4 80dc463e 801 0:25 138c1408eb63c29c no
v4 80dc463e 801 0:26 f0bc74085499dbc1 no
v4 80dc463e 801 0:27 4c0fa308cfa9eacf no
v4 80dc463e 801 0:28 84d624087111280d no
v4 80dc463e 801 0:29 a053d5083534c623 no
v4 80dc463e 801 0:30 2295d1089ac79a7c no
# mount | grep mant1
mant1:/export/home on /home type nfs4
(rw,nosuid,nodev,noatime,hard,intr,sloppy,rsize=8192,wsize=8192,tcp,fsc,clientaddr=128.220.70.65,addr=128.220.70.62)
mant1:/scratch on /scratch type nfs4
(rw,nosuid,nodev,noatime,hard,intr,sloppy,intr,tcp,fsc,clientaddr=128.220.70.65,addr=128.220.70.62)
# dmesg | grep -i fsc
# dmesg | grep -i cache
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 5:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 12:0:0:0: [sdh] Assuming drive cache: write through
sd 12:0:0:0: [sdh] Assuming drive cache: write through
sd 11:0:0:0: [sdg] Assuming drive cache: write through
sd 12:0:0:0: [sdh] Assuming drive cache: write through
sd 11:0:0:0: [sdg] Assuming drive cache: write through
sd 11:0:0:0: [sdg] Assuming drive cache: write through
FS-Cache: Loaded
CacheFiles: Loaded
FS-Cache: Netfs 'nfs' registered for caching
FS-Cache: Cache "dongs" added (type cachefiles)
CacheFiles: File cache on sdf1 registered
# cat /etc/cachefilesd.conf
###############################################################################
#
# Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
# Written by David Howells (dhowells at redhat.com)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
###############################################################################
dir /var/fscache
tag dongs
# uname -r
2.6.31-rc2
Thoughts? I'm rather at a loss.
- Rich
--
Vini, vidi, Linux! -- Unknown source
More information about the Linux-cachefs
mailing list