2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
# Makefile for Red Hat Linux AFS client.
|
|
|
|
#
|
|
|
|
|
|
|
|
kafs-objs := \
|
|
|
|
callback.o \
|
|
|
|
cell.o \
|
|
|
|
cmservice.o \
|
|
|
|
dir.o \
|
|
|
|
file.o \
|
2007-07-15 23:40:12 -07:00
|
|
|
flock.o \
|
2005-04-16 15:20:36 -07:00
|
|
|
fsclient.o \
|
|
|
|
inode.o \
|
|
|
|
main.o \
|
|
|
|
misc.o \
|
|
|
|
mntpt.o \
|
|
|
|
proc.o \
|
2007-04-26 15:55:03 -07:00
|
|
|
rxrpc.o \
|
2007-04-26 15:57:07 -07:00
|
|
|
security.o \
|
2005-04-16 15:20:36 -07:00
|
|
|
server.o \
|
|
|
|
super.o \
|
2007-05-03 03:28:49 -07:00
|
|
|
netdevices.o \
|
2005-04-16 15:20:36 -07:00
|
|
|
vlclient.o \
|
|
|
|
vlocation.o \
|
|
|
|
vnode.o \
|
AFS: implement basic file write support
Implement support for writing to regular AFS files, including:
(1) write
(2) truncate
(3) fsync, fdatasync
(4) chmod, chown, chgrp, utime.
AFS writeback attempts to batch writes into as chunks as large as it can manage
up to the point that it writes back 65535 pages in one chunk or it meets a
locked page.
Furthermore, if a page has been written to using a particular key, then should
another write to that page use some other key, the first write will be flushed
before the second is allowed to take place. If the first write fails due to a
security error, then the page will be scrapped and reread before the second
write takes place.
If a page is dirty and the callback on it is broken by the server, then the
dirty data is not discarded (same behaviour as NFS).
Shared-writable mappings are not supported by this patch.
[akpm@linux-foundation.org: fix a bunch of warnings]
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 02:33:46 -07:00
|
|
|
volume.o \
|
|
|
|
write.o
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
obj-$(CONFIG_AFS_FS) := kafs.o
|