]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Replace readdir's use of xxhash() with hash_64()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 Mar 2022 00:00:07 +0000 (20:00 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Apr 2022 20:19:47 +0000 (16:19 -0400)
commit97f8ddbc7138409a23f3394bc36f0eba800a3f8d
tree80bf1cd78be5bbf27593bb6e88577d340f38516b
parentf6481550ed86a8165d6b3b631e4ed0abd26364fa
NFS: Replace readdir's use of xxhash() with hash_64()

Both xxhash() and hash_64() appear to give similarly low collision
rates with a standard linearly increasing readdir offset. They both give
similarly higher collision rates when applied to ext4's offsets.

So switch to using the standard hash_64().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/Kconfig
fs/nfs/dir.c