summary refs log tree commit diff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2020-03-30 20:57:49 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-04-01 13:37:57 -0400
commited5d588fe47feef290f271022820e255d8371561 (patch)
treef8158a5483b1a880ef573b1d5e18db662064c7f6 /fs/nfs/write.c
parente00ed89d7bd59c4ae49d6aeeee567187b1357a4b (diff)
downloadlinux-ed5d588fe47feef290f271022820e255d8371561.tar.gz
NFS: Try to join page groups before an O_DIRECT retransmission
If we have to retransmit requests, try to join their page groups
first.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/write.c')
-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 63b64333c3ea..df4b87c30ac9 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -501,7 +501,7 @@ nfs_destroy_unlinked_subrequests(struct nfs_page *destroy_list,
  * the (former) group.  All subrequests are removed from any write or commit
  * lists, unlinked from the group and destroyed.
  */
-static void
+void
 nfs_join_page_group(struct nfs_page *head, struct inode *inode)
 {
 	struct nfs_page *subreq;