commit | 2928db1ffeacc9717c2d5c230d450bcc377b3ae9 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Feb 19 17:03:18 2010 -0800 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Mar 05 15:44:54 2010 -0500 |
tree | c0dea3d26d45c3ea1a3602984ed4738b93373f67 | |
parent | 5bad5abec4058c5214bfc72cec418348d6747977 [diff] |
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>