diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2021-06-29 05:11:28 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-08 14:03:26 -0400 |
commit | e0340f16a08d031de54ed91d26f57c9a966a776a (patch) | |
tree | 565c964daf497f06291f6223f4b2ab546c8bf83c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 526fca376412bb6f9a7417153e8550d9165027bd (diff) |
NFS: Ensure nfs_readpage returns promptly when internal error occurs
A previous refactoring of nfs_readpage() might end up calling
wait_on_page_locked_killable() even if readpage_async_filler() failed
with an internal error and pg_error was non-zero (for example, if
nfs_create_request() failed). In the case of an internal error,
skip over wait_on_page_locked_killable() as this is only needed
when the read is sent and an error occurs during completion handling.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions