kernel-ark/fs/afs
David Howells 31143d5d51 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 12:30:50 -07:00
..
afs_cm.h [AFS]: Implement the CB.InitCallBackState3 operation. 2007-04-26 15:58:49 -07:00
afs_fs.h AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
afs_vl.h [AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC. 2007-04-26 15:55:03 -07:00
afs.h [AFS]: Add "directory write" support. 2007-04-26 15:59:35 -07:00
cache.c [AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC. 2007-04-26 15:55:03 -07:00
cache.h
callback.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
cell.c [AFS]: Add security support. 2007-04-26 15:57:07 -07:00
cmservice.c [AFS]: Fix memory leak in SRXAFSCB_GetCapabilities 2007-05-03 03:27:39 -07:00
dir.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
file.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
fsclient.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
inode.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
internal.h AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
main.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
Makefile AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
misc.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
mntpt.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
netdevices.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
proc.c [AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC. 2007-04-26 15:55:03 -07:00
rxrpc.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
security.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
server.c AFS: AFS fixups 2007-05-09 12:30:50 -07:00
super.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
vlclient.c [AFS]: Add security support. 2007-04-26 15:57:07 -07:00
vlocation.c [AFS]: Fix use of __exit functions from __init path 2007-05-03 03:12:46 -07:00
vnode.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00
volume.c [AFS]: Add "directory write" support. 2007-04-26 15:59:35 -07:00
write.c AFS: implement basic file write support 2007-05-09 12:30:50 -07:00