From: Trond Myklebust Date: Fri, 24 Jul 2015 16:31:33 +0000 (-0400) Subject: NFS: Don't clear desc->pg_moreio in nfs_do_recoalesce() X-Git-Tag: v4.2-rc5~30^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4c30454db732d5a377abfc309c7a629f3bbaeb0;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git NFS: Don't clear desc->pg_moreio in nfs_do_recoalesce() Recoalescing does not affect whether or not we've already sent off I/O, and doing so means that we end up sending a bunch of synchronous for cases where we actually need to be using unstable writes. Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 8ea5920..4984bbe 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -1100,8 +1100,6 @@ static int nfs_do_recoalesce(struct nfs_pageio_descriptor *desc) mirror->pg_base = 0; mirror->pg_recoalesce = 0; - desc->pg_moreio = 0; - while (!list_empty(&head)) { struct nfs_page *req;