Skip to content

Commit aa42add

Browse files
author
Trond Myklebust
committed
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>
1 parent 8c9f0df commit aa42add

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
@@ -1274,6 +1274,7 @@ static void ff_layout_io_track_ds_error(struct pnfs_layout_segment *lseg,
12741274
case -ECONNRESET:
12751275
case -EHOSTDOWN:
12761276
case -EHOSTUNREACH:
1277+
case -ENETDOWN:
12771278
case -ENETUNREACH:
12781279
case -EADDRINUSE:
12791280
case -ENOBUFS:

0 commit comments

Comments
 (0)