]> git.baikalelectronics.ru Git - kernel.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)
commit522441cb384c6cd447458a12dc5ff32b893dd916
tree80473b6bdc2f3a020a488056d8d6f704f1667ec3
parent5e40b1b53cd4afff833194dc3d915d7f2feb931b
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