Skip to content
Commit 1cd9cb05 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Only look at the change attribute cache state in nfs_check_verifier



When looking at whether or not our dcache is valid, we really don't care
about the general state of the directory attribute cache. Instead, we
we only care about the state of the change attribute.

This fixes a performance issue when the client is responsible for
changing the directory contents; a number of NFSv4 operations will
atomically update the directory change attribute, but may not return
all the other attributes.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 9310b224
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment