Skip to content

Commit 00d7e72

Browse files
Trond Myklebustjfvogel
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]> (cherry picked from commit 1630224189cc43768669d60412460118ebcb74b4) Signed-off-by: Jack Vogel <[email protected]>
1 parent b01f803 commit 00d7e72

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
@@ -1263,6 +1263,7 @@ static void ff_layout_io_track_ds_error(struct pnfs_layout_segment *lseg,
12631263
case -ECONNRESET:
12641264
case -EHOSTDOWN:
12651265
case -EHOSTUNREACH:
1266+
case -ENETDOWN:
12661267
case -ENETUNREACH:
12671268
case -EADDRINUSE:
12681269
case -ENOBUFS:

0 commit comments

Comments
 (0)