diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-07-24 19:31:33 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-07-27 17:33:12 +0300 |
commit | d4c30454db732d5a377abfc309c7a629f3bbaeb0 (patch) | |
tree | bce32c3c2794f7841b112ef64c312a5bf72b77fd /fs/nfs/pagelist.c | |
parent | 03d5eb65b53889fe98a5ecddfe205c16e3093190 (diff) | |
download | linux-d4c30454db732d5a377abfc309c7a629f3bbaeb0.tar.xz |
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 <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r-- | fs/nfs/pagelist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 8ea5920fb777..4984bbe55ff1 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; |