+2
−19
Loading
Doing this check in nfs_check_verifier() resulted in many, many more lookups on the wire when running Christoph's delegation benchmarking script. After some experimentation, I found that we can treat directory delegations exactly the same as having a delegated verifier when we reach nfs4_lookup_revalidate() for the best performance. Reported-by:Christoph Hellwig <hch@lst.de> Fixes: 156b0948 ("NFS: Request a directory delegation on ACCESS, CREATE, and UNLINK") Signed-off-by:
Anna Schumaker <anna.schumaker@oracle.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com>