kernel-ark/fs/nfs
Trond Myklebust 24aa1fe677 NFS: Fix a few further cache consistency regressions
Steve Dickson writes:
 Doing the following:
 1. On server:
 $ mkdir ~/t
 $ echo Hello > ~/t/tmp

 2. On client, wait for a string to appear in this file:
 $ until grep -q foo t/tmp ; do echo -n . ; sleep 1 ; done

 3. On server, create a *new* file with the same name containing that
 string:
 $ mv ~/t/tmp ~/t/tmp.old; echo foo > ~/t/tmp

 will show how the client will never (and I mean never ;-) ) see
 the updated file.

 The problem is that we do not update nfsi->cache_change_attribute when the
 file changes on the server (we only update it when our client makes the
 changes). This again means that functions like nfs_check_verifier() will
 fail to register when the parent directory has changed and should trigger
 a dentry lookup revalidation.

 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2005-12-03 15:20:07 -05:00
..
callback_proc.c
callback_xdr.c
callback.c
callback.h
delegation.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
delegation.h NFSv4: Recover locks too when returning a delegation 2005-11-04 15:38:11 -05:00
dir.c NFSv4: Return any delegations before sillyrenaming the file 2005-11-04 15:35:02 -05:00
direct.c NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled 2005-11-04 15:39:48 -05:00
file.c
idmap.c
inode.c NFS: Fix a few further cache consistency regressions 2005-12-03 15:20:07 -05:00
Makefile
mount_clnt.c
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4_fs.h NFSv4: Fix problem with OPEN_DOWNGRADE 2005-11-04 15:33:38 -05:00
nfs4proc.c NFSv4: Fix typo in lock caching 2005-11-25 17:11:29 -05:00
nfs4renewd.c
nfs4state.c NFSv4: Fix buggy nfs_wait_on_sequence() 2005-11-25 17:11:28 -05:00
nfs4xdr.c
nfsroot.c
pagelist.c
proc.c
read.c NFSv4: Fix problem with OPEN_DOWNGRADE 2005-11-04 15:33:38 -05:00
symlink.c
unlink.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
write.c NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled 2005-11-04 15:39:48 -05:00