summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-06-01 18:25:56 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-06-22 09:59:43 -0400
commit811ed92ecc9f47eee90beabcf5c2133f2a6d2440 (patch)
treebbfceb5a7a788268a21b97099ef617ba080c809b
parent6b56a89833fa7903595c8d138bb4927187315cba (diff)
downloadlinux-811ed92ecc9f47eee90beabcf5c2133f2a6d2440.tar.gz
linux-811ed92ecc9f47eee90beabcf5c2133f2a6d2440.tar.bz2
linux-811ed92ecc9f47eee90beabcf5c2133f2a6d2440.zip
NFS: writepage of a single page should not be synchronous
It is almost always better to wait for more so that we can issue a bulk commit. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r--fs/nfs/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 980d44f3a84c..b13d48881d3a 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -625,7 +625,7 @@ static int nfs_writepage_locked(struct page *page,
int err;
nfs_inc_stats(inode, NFSIOS_VFSWRITEPAGE);
- nfs_pageio_init_write(&pgio, inode, wb_priority(wbc),
+ nfs_pageio_init_write(&pgio, inode, 0,
false, &nfs_async_write_completion_ops);
err = nfs_do_writepage(page, wbc, &pgio, launder);
nfs_pageio_complete(&pgio);