NFS: Add a count of the number of unstable writes carried by an inode
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Feb 2010 00:53:39 +0000 (16:53 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Mar 2010 20:44:54 +0000 (15:44 -0500)
commitff778d02bf867e1733a09b34ad6dbb723b024814
treed22e33628b93f31c08089a3bf0ec4cc00a409b7a
parent8fc795f703c5138e1a8bfb88c69f52632031aa6a
NFS: Add a count of the number of unstable writes carried by an inode

In order to know when we should do opportunistic commits of the unstable
writes, when the VM is doing a background flush, we add a field to count
the number of unstable writes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/write.c
include/linux/nfs_fs.h