WSL2-Linux-Kernel/fs/nfs/flexfilelayout
Trond Myklebust 94d0dd56f8 pNFS/flexfiles: Report RDMA connection errors to the server
commit 7836d75467 upstream.

The RPC/RDMA driver will return -EPROTO and -ENODEV as connection errors
under certain circumstances. Make sure that we handle them and report
them to the server. If not, we can end up cycling forever in a
LAYOUTGET/LAYOUTRETURN loop.

Fixes: a12f996d34 ("NFSv4/pNFS: Use connections to a DS that are all of the same protocol family")
Cc: stable@vger.kernel.org # 5.11.x
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 14:22:45 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
flexfilelayout.c pNFS/flexfiles: Report RDMA connection errors to the server 2022-08-17 14:22:45 +02:00
flexfilelayout.h pNFS/flexfiles: Simplify allocation of the mirror array 2020-03-26 10:52:04 -04:00
flexfilelayoutdev.c pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds 2021-11-18 19:17:00 +01:00