Hi Jorge.
I tested nfstest_cache on the lastest kernel,there were some
FAIL in the result.(It failed with all versions of nfs)
Is this the cache's bug? Or i missed some arguments ?
./nfstest_cache --nfsversion=4 -e /nfsroot --server 192.168.227.10 --client 192.168.227.12 >cache4.log
(version 3,4.1,4.2 had the same result).
*** Verify consistency of data caching with NFSv4 on a directory acdirmin = 10
TEST: Running test 'acdirmin_data'
FAIL: Directory listing should have not changed at t=0
FAIL: Directory listing should have not changed just before acdirmin
PASS: Directory listing should have changed just after acdirmin
TIME: 10.308059s
*** Verify consistency of data caching with NFSv4 on a directory acdirmin = 10 acdirmax = 20
TEST: Running test 'acdirmax_data'
FAIL: Directory listing should have not changed at t=0
FAIL: Directory listing should have not changed just before acdirmax
PASS: Directory listing should have changed just after acdirmax
FAIL: Directory listing should have not changed just before acdirmin
PASS: Directory listing should have changed just after acdirmin
TIME: 1m0.623938s
*** Verify consistency of data caching with NFSv4 on a directory actimeo = 10
FAIL: Directory listing should have not changed at t=0
FAIL: Directory listing should have not changed just before actimeo
PASS: Directory listing should have changed just after actimeo
TIME: 11.027872s
Huan Xu