diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-02 00:25:56 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-22 15:59:43 +0200 |
commit | 811ed92ecc9f47eee90beabcf5c2133f2a6d2440 (patch) | |
tree | bbfceb5a7a788268a21b97099ef617ba080c809b /fs/nfs/write.c | |
parent | NFS: Kill NFS_INO_NFS_INO_FLUSHING: it is a performance killer (diff) | |
download | linux-811ed92ecc9f47eee90beabcf5c2133f2a6d2440.tar.xz 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>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
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); |