]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Ensure inode is always marked I_DIRTY_DATASYNC, if it has unstable pages
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Feb 2010 01:03:18 +0000 (17:03 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Mar 2010 20:44:54 +0000 (15:44 -0500)
commit95cef29afc8452a51ed804502fea389362e2cac3
treec0dea3d26d45c3ea1a3602984ed4738b93373f67
parente4f78261f1ccc3c77b48b88c5ef42f1e1b646b24
NFS: Ensure inode is always marked I_DIRTY_DATASYNC, if it has unstable pages

Since nfs_scan_list() doesn't wait for locked pages, we have a race in
which it is possible to end up with an inode that needs to send a COMMIT,
but which does not have the I_DIRTY_DATASYNC flag set.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c