[PATCH] Fix NFS attribute caching bug
Fixes an obvious bug in __nfs_refresh_inode(): after updating the attribute cache, if we discover that the data cache is invalid don't call nfs_zap_caches() as that will also reinvalidate the attribute cache. This bug plays havoc with the new lookup/revalidation code in 2.4.19 since it forces a lot of unnecessary extra GETATTR RPC calls.
Showing
Please register or sign in to comment