diff options
author | Trond Myklebust <trondmy@gmail.com> | 2018-10-01 10:41:55 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-10-29 16:58:04 -0400 |
commit | 76ecec21197ab23bb821d8bf584949013efd0494 (patch) | |
tree | 2e232c48b130c2fa2fab9b7ba24c812bcb6da077 /.clang-format | |
parent | 3e87da5145fc25e18fb934eb496f4e7c4d038e71 (diff) | |
download | linux-76ecec21197ab23bb821d8bf584949013efd0494.tar.bz2 |
knfsd: Simplify NFS duplicate replay cache
Simplify the duplicate replay cache by initialising the preallocated
cache entry, so that we can use it as a key for the cache lookup.
Note that the 99.999% case we want to optimise for is still the one
where the lookup fails, and we have to add this entry to the cache,
so preinitialising should not cause a performance penalty.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions