• Trond Myklebust's avatar
    [PATCH] Fix NFS attribute caching bug · 45bde054
    Trond Myklebust authored
      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.
    45bde054
inode.c 34.5 KB