From: Trond Myklebust Date: Wed, 1 Jun 2016 22:25:56 +0000 (-0400) Subject: NFS: writepage of a single page should not be synchronous X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=811ed92ecc9f47eee90beabcf5c2133f2a6d2440;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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);