Skip to content

Commit

Permalink
NFS: Don't clear desc->pg_moreio in nfs_do_recoalesce()
Browse files Browse the repository at this point in the history
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 <trond.myklebust@primarydata.com>
  • Loading branch information
Trond Myklebust committed Jul 27, 2015
1 parent 03d5eb6 commit d4c3045
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/nfs/pagelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d4c3045

Please sign in to comment.