linux-hardened/fs/nfs
Chuck Lever 0c70b50150 NFS: nfs_lookup doesn't need to revalidate the parent directory's inode
nfs_lookup() used to consult a lookup cache before trying an actual wire
 lookup operation.  The lookup cache would be invalid, of course, if the
 parent directory's mtime had changed, so nfs_lookup performed an inode
 revalidation on the parent.

 Since nfs_lookup() doesn't use a cache anymore, the revalidation is no
 longer necessary.  There are cases where it will generate a lot of
 unnecessary GETATTR traffic.

 See http://bugzilla.linux-nfs.org/show_bug.cgi?id=9

 Test-plan:
 Use lndir and "rm -rf" and watch for excess GETATTR traffic or application
 level errors.

 Signed-off-by: Chuck Lever <cel@netapp.com>
 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2005-10-27 22:12:40 -04:00
..
callback.c [PATCH] NFS: Header file cleanup... 2005-06-22 16:07:06 -04:00
callback.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
callback_proc.c [PATCH] NFS: Header file cleanup... 2005-06-22 16:07:06 -04:00
callback_xdr.c [PATCH] NFSv4: Fix an Oops in the callback code. 2005-06-22 16:07:29 -04:00
delegation.c NFSv4: Return delegation upon rename or removal of file. 2005-10-18 14:20:19 -07:00
delegation.h NFSv4: Return delegation upon rename or removal of file. 2005-10-18 14:20:19 -07:00
dir.c NFS: nfs_lookup doesn't need to revalidate the parent directory's inode 2005-10-27 22:12:40 -04:00
direct.c [PATCH] Remove f_error field from struct file 2005-06-23 09:45:33 -07:00
file.c NFS: Fix up a race in the NFS implementation of GETLK 2005-10-18 14:20:16 -07:00
idmap.c Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" 2005-09-23 12:39:00 -04:00
inode.c NFS: Don't let nfs_end_data_update() clobber attribute update information 2005-10-27 22:12:39 -04:00
Makefile [PATCH] NFS: Add support for NFSv3 ACLs 2005-06-22 16:07:24 -04:00
mount_clnt.c [PATCH] RPC: Make rpc_create_client() destroy the transport on failure. 2005-06-22 16:07:03 -04:00
nfs2xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfs3acl.c [PATCH] NFS: Introduce the use of inode->i_lock to protect fields in nfsi 2005-08-18 12:53:57 -07:00
nfs3proc.c NFS: Don't let nfs_end_data_update() clobber attribute update information 2005-10-27 22:12:39 -04:00
nfs3xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfs4_fs.h NFSv4: Fix up locking for nfs4_state_owner 2005-10-20 14:22:47 -07:00
nfs4proc.c NFS: Don't let nfs_end_data_update() clobber attribute update information 2005-10-27 22:12:39 -04:00
nfs4renewd.c [PATCH] NFS: Header file cleanup... 2005-06-22 16:07:06 -04:00
nfs4state.c NFSv4: Fix up locking for nfs4_state_owner 2005-10-20 14:22:47 -07:00
nfs4xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfsroot.c [PATCH] NFS: Add support for NFSv3 ACLs 2005-06-22 16:07:24 -04:00
pagelist.c [PATCH] NFS: Replace nfs_page insertion sort with a radix sort 2005-06-22 16:07:39 -04:00
proc.c NFS: Don't let nfs_end_data_update() clobber attribute update information 2005-10-27 22:12:39 -04:00
read.c NFS: Cleanup initialisation of struct nfs_fattr 2005-10-27 22:12:38 -04:00
symlink.c Fix nasty ncpfs symlink handling bug. 2005-08-19 18:02:56 -07:00
unlink.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
write.c NFS: Cleanup initialisation of struct nfs_fattr 2005-10-27 22:12:38 -04:00