mirror of
https://github.com/torvalds/linux.git
synced 2025-04-06 00:16:18 +00:00

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 <dhowells@redhat.com> Link: https://lore.kernel.org/r/20241216204124.3752367-30-dhowells@redhat.com cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
45 lines
615 B
Makefile
45 lines
615 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Red Hat Linux AFS client.
|
|
#
|
|
|
|
kafs-y := \
|
|
addr_list.o \
|
|
addr_prefs.o \
|
|
callback.o \
|
|
cell.o \
|
|
cmservice.o \
|
|
dir.o \
|
|
dir_edit.o \
|
|
dir_search.o \
|
|
dir_silly.o \
|
|
dynroot.o \
|
|
file.o \
|
|
flock.o \
|
|
fsclient.o \
|
|
fs_operation.o \
|
|
fs_probe.o \
|
|
inode.o \
|
|
main.o \
|
|
misc.o \
|
|
mntpt.o \
|
|
rotate.o \
|
|
rxrpc.o \
|
|
security.o \
|
|
server.o \
|
|
server_list.o \
|
|
super.o \
|
|
validation.o \
|
|
vlclient.o \
|
|
vl_alias.o \
|
|
vl_list.o \
|
|
vl_probe.o \
|
|
vl_rotate.o \
|
|
volume.o \
|
|
write.o \
|
|
xattr.o \
|
|
yfsclient.o
|
|
|
|
kafs-$(CONFIG_PROC_FS) += proc.o
|
|
obj-$(CONFIG_AFS_FS) := kafs.o
|