diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-07-30 15:31:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 10:54:05 -0700 |
commit | 2feba60ecd830b7865e14ffda86d99cdbb265add (patch) | |
tree | 88412493e2b828dd8fa2572f2448676f53e7b8de /include | |
parent | 0755c191083b5bc37734da39cf3ba5edcadb90e3 (diff) | |
download | lwn-2feba60ecd830b7865e14ffda86d99cdbb265add.tar.gz lwn-2feba60ecd830b7865e14ffda86d99cdbb265add.zip |
NFS: kswapd must not block in nfs_release_page
commit b608b283a962caaa280756bc8563016a71712acf upstream.
See https://bugzilla.kernel.org/show_bug.cgi?id=16056
If other processes are blocked waiting for kswapd to free up some memory so
that they can make progress, then we cannot allow kswapd to block on those
processes.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-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 07ce4609fe50..d2b552a6012f 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -479,6 +479,7 @@ extern int nfs_wb_all(struct inode *inode); extern int nfs_wb_page(struct inode *inode, struct page* page); extern int nfs_wb_page_cancel(struct inode *inode, struct page* page); #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) +extern int nfs_commit_inode(struct inode *, int); extern struct nfs_write_data *nfs_commitdata_alloc(void); extern void nfs_commit_free(struct nfs_write_data *wdata); #endif |