]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pNFS/files: Handle RDMA connection errors correctly
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 18 May 2022 21:08:58 +0000 (17:08 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Jul 2022 23:00:53 +0000 (19:00 -0400)
commit431794e67e238e6fd170499a14fd2abf0a16b5bd
tree80473b6bdc2f3a020a488056d8d6f704f1667ec3
parent7836d75467e9d214bdf5c693b32721de729a6e38
pNFS/files: Handle RDMA connection errors correctly

The RPC/RDMA driver will return -EPROTO and -ENODEV as connection errors
under certain circumstances. Make sure that we handle them correctly and
avoid cycling forever in a LAYOUTGET/LAYOUTRETURN loop.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/filelayout/filelayout.c