]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pNFS/flexfiles: Report ENETDOWN as a connection error
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 20 Mar 2025 16:45:01 +0000 (12:45 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 21 Mar 2025 16:44:26 +0000 (12:44 -0400)
commitaa42add73ce9b9e3714723d385c254b75814e335
tree109317176dabb2b1712d3ddef36fce5d28b911fe
parent8c9f0df7a82a9f3bbdab4c796d302b20a33c1cc6
pNFS/flexfiles: Report ENETDOWN as a connection error

If the client should see an ENETDOWN when trying to connect to the data
server, it might still be able to talk to the metadata server through
another NIC. If so, report the error.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/flexfilelayout/flexfilelayout.c