Cachefs fails to take effect on nfs4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi world,
I have a machine with a large /scratch pool mounted via NFS.

If I mount /scratch with -t nfs4 -o rw,fsc, and do ~50 MB of IO, I get the same:
# cat /proc/fs/fscache/stats
FS-Cache statistics
Cookies: idx=6 dat=0 spc=0
Objects: alc=0 nal=0 avl=0 ded=0
ChkAux : non=0 ok=0 upd=0 obs=0
Pages  : mrk=0 unc=0
Acquire: n=6 nul=0 noc=0 ok=6 nbf=0 oom=0
Lookups: n=0 neg=0 pos=0 crt=0
Updates: n=0 nul=0 run=0
Relinqs: n=2 nul=0 wcr=0
AttrChg: n=0 ok=0 nbf=0 oom=0 run=0
Allocs : n=0 ok=0 wt=0 nbf=0
Allocs : ops=0 owt=0
Retrvls: n=0 ok=0 wt=0 nod=0 nbf=0 int=0 oom=0
Retrvls: ops=0 owt=0
Stores : n=0 ok=0 agn=0 nbf=0 oom=0
Stores : ops=0 run=0
Ops    : pend=0 run=0 enq=0
Ops    : dfr=0 rel=0 gc=0

If I mount /scratch with -t nfs -o rw,fsc, and do ~50 MB, I get:
FS-Cache statistics
Cookies: idx=6 dat=1 spc=0
Objects: alc=4 nal=0 avl=4 ded=0
ChkAux : non=0 ok=1 upd=0 obs=0
Pages  : mrk=30735 unc=26
Acquire: n=7 nul=0 noc=0 ok=7 nbf=0 oom=0
Lookups: n=4 neg=2 pos=2 crt=2
Updates: n=0 nul=0 run=0
Relinqs: n=2 nul=0 wcr=0
AttrChg: n=0 ok=0 nbf=0 oom=0 run=0
Allocs : n=0 ok=0 wt=0 nbf=0
Allocs : ops=0 owt=0
Retrvls: n=18 ok=4 wt=1 nod=14 nbf=0 int=0 oom=0
Retrvls: ops=18 owt=1
Stores : n=30720 ok=30720 agn=0 nbf=0 oom=0
Stores : ops=13 run=30733
Ops    : pend=1 run=30 enq=30733
Ops    : dfr=0 rel=31 gc=0

So...what's going on here? Am I missing something, or is -t nfs4
somehow making it magically ignored?

(2.6.30-rc6 x86_64, those are all the -o options I passed, I initially
noticed this with far more options passed and reduced to this test
case, the cache-backing filesystem has user_xattr enabled and is an
empty 500GB disk save for this)

- Rich
-- 

Os números não mentem, mas os mentirosos fabricam números. -- Itamar Franco

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux