aboutsummaryrefslogtreecommitdiffstats
path: root/fs/netfs/buffered_read.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-12-16 20:41:19 +0000
committerChristian Brauner <[email protected]>2024-12-20 21:34:09 +0000
commita5b5beebcf96d5e8a2fc79856c2ac1e93f82478e (patch)
tree0b5f2fd78d13bbd05cf47c09ac5846f782da7338 /fs/netfs/buffered_read.c
parentafs: Make afs_mkdir() locally initialise a new directory's content (diff)
downloadkernel-a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e.tar.gz
kernel-a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e.zip
afs: Use the contained hashtable to search a directory
Each directory image contains a hashtable with 128 buckets to speed up searching. Currently, kafs does not use this, but rather iterates over all the occupied slots in the image as it can share this with readdir. Switch kafs to use the hashtable for lookups to reduce the latency. Care must be taken that the hash chains are acyclic. Signed-off-by: David Howells <[email protected]> Link: https://lore.kernel.org/r/[email protected] cc: Marc Dionne <[email protected]> cc: [email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/netfs/buffered_read.c')
0 files changed, 0 insertions, 0 deletions