commit | 2bff2288579f1e4af2f05a7f7443c85b7766d5ac | [log] [tgz] |
---|---|---|
author | Peng Tao <tao.peng@primarydata.com> | Sat Dec 05 02:03:17 2015 +0800 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Dec 28 14:32:37 2015 -0500 |
tree | 1cca8e446029d3acc42b0e0e858ae4b17c542617 | |
parent | c18b96a1b8629db8cf5ac9f8974ccb4abcc209ab [diff] |
nfs: centralize pgio error cleanup In case we fail during setting things up for read/write IO, set pg_error in IO descriptor and do the cleanup in nfs_pageio_add_request, where we clean up all pages that are still hanging around on the IO descriptor. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>