]> 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)
commit78beaa9fe536fd5142f3cf352db1d8719b957c41
tree80473b6bdc2f3a020a488056d8d6f704f1667ec3
parenta11e26c30568f1a029b91320cfee47b2932d6105
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