]> 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)
commit830f1111d90e8770fcfad8bd5628e8ae6fecec06
tree80bf1cd78be5bbf27593bb6e88577d340f38516b
parenteb07d5a4da041fd2e30e386e5fd12d23bb31cf9e
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