Skip to content

Commit 8429ff0

Browse files
Trond Myklebustgregkh
authored andcommitted
pNFS/flexfiles: Report ENETDOWN as a connection error
[ Upstream commit aa42add73ce9b9e3714723d385c254b75814e335 ] 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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Tested-by: Jeff Layton <[email protected]> Acked-by: Chuck Lever <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent a48a00d commit 8429ff0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfs/flexfilelayout/flexfilelayout.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,7 @@ static void ff_layout_io_track_ds_error(struct pnfs_layout_segment *lseg,
12601260
case -ECONNRESET:
12611261
case -EHOSTDOWN:
12621262
case -EHOSTUNREACH:
1263+
case -ENETDOWN:
12631264
case -ENETUNREACH:
12641265
case -EADDRINUSE:
12651266
case -ENOBUFS:

0 commit comments

Comments
 (0)