1
linux/fs/afs
Christoph Hellwig 26821ed40b make sure data is on disk before calling ->write_inode
Similar to the fsync issue fixed a while ago in commit
2daea67e96 we need to write for data to
actually hit the disk before writing out the metadata to guarantee
data integrity for filesystems that modify the inode in the data I/O
completion path.  Currently XFS and NFS handle this manually, and AFS
has a write_inode method that does nothing but waiting for data, while
others are possibly missing out on this.

Fortunately this change has a lot less impact than the fsync change
as none of the write_inode methods starts data writeout of any form
by itself.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-03-05 13:25:10 -05:00
..
afs_cm.h
afs_fs.h
afs_vl.h
afs.h
cache.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
callback.c
cell.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cmservice.c
dir.c AFS: Fix compilation warning 2009-07-12 12:24:07 -07:00
file.c FS-Cache: Handle pages pending storage that get evicted under OOM conditions 2009-11-19 18:11:35 +00:00
flock.c const: make file_lock_operations const 2009-09-22 07:17:25 -07:00
fsclient.c
inode.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
internal.h make sure data is on disk before calling ->write_inode 2010-03-05 13:25:10 -05:00
Kconfig FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
main.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
Makefile FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
misc.c AFS: Correctly translate auth error aborts and don't failover in such cases 2009-06-16 21:20:14 -07:00
mntpt.c headers: mnt_namespace.h redux 2009-07-08 09:31:56 -07:00
netdevices.c afs: BUG to BUG_ON changes 2009-04-09 10:41:19 -07:00
proc.c seq_file: constify seq_operations 2009-09-23 07:39:29 -07:00
rxrpc.c
security.c
server.c
super.c make sure data is on disk before calling ->write_inode 2010-03-05 13:25:10 -05:00
vlclient.c
vlocation.c AFS: Correctly translate auth error aborts and don't failover in such cases 2009-06-16 21:20:14 -07:00
vnode.c
volume.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
write.c make sure data is on disk before calling ->write_inode 2010-03-05 13:25:10 -05:00