]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Reverse the submission order of requests in __nfs_pageio_add_request()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 31 Mar 2020 22:27:26 +0000 (18:27 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 Apr 2020 17:37:56 +0000 (13:37 -0400)
commit79110809d52fc70c2c45f25c2b3eba6b7c252282
tree44978bd6035a2633ea54be01094041eb9643fcca
parent03f1cba57928eeceeb4e8b3e677c6ed6080c92e8
NFS: Reverse the submission order of requests in __nfs_pageio_add_request()

If we have to split the request up into subrequests, we have to submit
the request pointed to by the function call parameter last, in case
there is an error or other issue that causes us to exit before the
last request is submitted. The reason is that the caller is expected
to perform cleanup in those cases.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pagelist.c