Home
last modified time | relevance | path

Searched hist:e0340f16 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dread.ce0340f16 Tue Jun 29 04:11:28 CDT 2021 Dave Wysochanski <dwysocha@redhat.com> 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>