63a4681ff3
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change. This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem. If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed. Signed-off-by: David Howells <dhowells@redhat.com>
38 lines
507 B
Makefile
38 lines
507 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Red Hat Linux AFS client.
|
|
#
|
|
|
|
afs-cache-$(CONFIG_AFS_FSCACHE) := cache.o
|
|
|
|
kafs-objs := \
|
|
$(afs-cache-y) \
|
|
addr_list.o \
|
|
callback.o \
|
|
cell.o \
|
|
cmservice.o \
|
|
dir.o \
|
|
dir_edit.o \
|
|
dynroot.o \
|
|
file.o \
|
|
flock.o \
|
|
fsclient.o \
|
|
inode.o \
|
|
main.o \
|
|
misc.o \
|
|
mntpt.o \
|
|
proc.o \
|
|
rotate.o \
|
|
rxrpc.o \
|
|
security.o \
|
|
server.o \
|
|
server_list.o \
|
|
super.o \
|
|
netdevices.o \
|
|
vlclient.o \
|
|
volume.o \
|
|
write.o \
|
|
xattr.o
|
|
|
|
obj-$(CONFIG_AFS_FS) := kafs.o
|