]> Gentwo Git Trees - linux/.git/commit
NFSD: Reduce DRC bucket size
authorChuck Lever <chuck.lever@oracle.com>
Thu, 21 Aug 2025 14:53:21 +0000 (10:53 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 21 Sep 2025 23:24:50 +0000 (19:24 -0400)
commit8ddd06be9a9e2b9f4af9b337150af834862331ef
treeb92b4ce87835b47ad451066712d15683dda1cc1d
parentfb340bfd48bcc3a51d35be1fe2a2db290092d4ea
NFSD: Reduce DRC bucket size

The common case is that a DRC lookup will not find the XID in the
bucket. Reduce the amount of pointer chasing during the lookup by
keeping fewer entries in each hash bucket.

Changing the bucket size constant forces the size of the DRC hash
table to increase, and the height of each bucket r-b tree to be
reduced.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfscache.c