diff options
author | Trond Myklebust | 2010-02-19 16:53:39 -0800 |
---|---|---|
committer | Trond Myklebust | 2010-03-05 15:44:54 -0500 |
commit | ff778d02bf867e1733a09b34ad6dbb723b024814 (patch) | |
tree | d22e33628b93f31c08089a3bf0ec4cc00a409b7a /include/linux | |
parent | 8fc795f703c5138e1a8bfb88c69f52632031aa6a (diff) |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 384ea3ef2863..309217f46e28 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -166,6 +166,7 @@ struct nfs_inode { struct radix_tree_root nfs_page_tree; unsigned long npages; + unsigned long ncommit; /* Open contexts for shared mmap writes */ struct list_head open_files; |