nfs: call nfs_can_coalesce_requests for every req
authorWeston Andros Adamson <dros@primarydata.com>
Thu, 15 May 2014 15:56:44 +0000 (11:56 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:44 +0000 (11:11 -0400)
commitab75e417192a486ffe63a314b6d2e7361f0e157f
tree5bf3e9884f75e789aa1db33edb68103ad1f2c7fc
parentb4fdac1a5150174df0847a45dc6612ce5ce3daeb
nfs: call nfs_can_coalesce_requests for every req

Call nfs_can_coalesce_requests for every request, even the first one.
This is needed for future patches to give pg_test a way to inform
add_request to reduce the size of the request.

Now @prev can be null in nfs_can_coalesce_requests and pg_test functions.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4filelayout.c
fs/nfs/pagelist.c