linux/fs/nfs
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
..
cache_lib.c
cache_lib.h
callback_proc.c nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
callback_xdr.c nfs41: V2 initial support for CB_RECALL_ANY 2009-12-05 13:27:02 -05:00
callback.c nfs41: add support for callback with RPC version number 4 2009-12-05 13:19:01 -05:00
callback.h nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
client.c nfs41: V2 adjust max_rqst_sz, max_resp_sz w.r.t to rsize, wsize 2009-12-05 13:36:55 -05:00
delegation.c nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
delegation.h nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
dir.c nfs: fix oops in nfs_rename() 2010-01-06 18:48:26 -05:00
direct.c NFS: Too many GETATTR and ACCESS calls after direct I/O 2010-02-15 19:53:43 -08:00
dns_resolve.c NFSv4: Ensure nfs_dns_lookup() and nfs_dns_update() are declared static 2009-12-03 15:54:01 -05:00
dns_resolve.h
file.c NFS: Try to commit unstable writes in nfs_release_page() 2010-01-26 15:41:53 -05:00
fscache-index.c
fscache.c NFS: Fix a bug in nfs_fscache_release_page() 2010-02-09 14:29:10 -05:00
fscache.h NFS: Propagate 'fsc' mount option through automounts 2009-09-23 14:36:39 -04:00
getroot.c
idmap.c
inode.c make sure data is on disk before calling ->write_inode 2010-03-05 13:25:10 -05:00
internal.h NFS: Fix up the declaration of nfs4_restart_rpc when NFSv4 not configured 2009-12-07 09:00:24 -05:00
iostat.h percpu: add __percpu sparse annotations to fs 2010-02-17 11:17:38 +09:00
Kconfig Remove EXPERIMENTAL from NFS_FSCACHE 2010-02-26 17:22:35 -08:00
Makefile
mount_clnt.c NFS: Fix the mapping of the NFSERR_SERVERFAULT error 2010-02-09 14:29:29 -05:00
namespace.c
nfs2xdr.c NFS: Fix the mapping of the NFSERR_SERVERFAULT error 2010-02-09 14:29:29 -05:00
nfs3acl.c
nfs3proc.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
nfs3xdr.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
nfs4_fs.h NFS: Ensure that we handle NFS4ERR_STALE_STATEID correctly 2010-01-26 15:42:47 -05:00
nfs4namespace.c NFSv4: Fix the referral mount code 2009-10-06 15:42:20 -04:00
nfs4proc.c a couple of mntget+dget -> path_get in nfs4proc 2010-03-03 14:07:56 -05:00
nfs4renewd.c NFSv4: Kill nfs4_renewd_prepare_shutdown() 2009-10-08 11:50:55 -04:00
nfs4state.c NFS: Ensure that we handle NFS4ERR_STALE_STATEID correctly 2010-01-26 15:42:47 -05:00
nfs4xdr.c NFS: Fix the mapping of the NFSERR_SERVERFAULT error 2010-02-09 14:29:29 -05:00
nfsroot.c
pagelist.c NFS: Fix an Oops when truncating a file 2010-02-03 08:27:22 -05:00
proc.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
read.c NFS: Fix up the declaration of nfs4_restart_rpc when NFSv4 not configured 2009-12-07 09:00:24 -05:00
super.c NFS: Fix a umount race 2010-02-03 08:27:35 -05:00
symlink.c
sysctl.c NFS: Avoid warnings when CONFIG_NFS_V4=n 2010-01-26 15:42:11 -05:00
unlink.c NFS: Fix up the declaration of nfs4_restart_rpc when NFSv4 not configured 2009-12-07 09:00:24 -05:00
write.c NFS: Remove a redundant check for PageFsCache in nfs_migrate_page() 2010-02-09 14:29:21 -05:00