Trond Myklebust ed48237d6b pNFS/flexfiles: Report RDMA connection errors to the server
commit 7836d75467e9d214bdf5c693b32721de729a6e38 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: a12f996d3413 ("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 15:13:40 +02:00
..
2020-05-27 10:10:12 -04:00
2022-05-31 16:58:24 -07:00
2022-05-09 23:12:33 -04:00
2022-04-08 07:39:17 -10:00
2021-04-05 09:04:20 -04:00
2021-10-20 18:09:54 -04:00
2022-05-09 16:21:46 -04:00
2022-05-09 16:36:48 -04:00