diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-03-20 11:45:06 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-03-21 12:44:09 -0400 |
commit | 487fae09d7e266a58a13784983cc1ef6a2076526 (patch) | |
tree | 9ee9b10096d795427f936076004b85c229770c6e /rust/helpers/task.c | |
parent | 4c2226be8161a12f0a68e81d25cf8ed05fa622e0 (diff) |
NFS: Add a mount option to make ENETUNREACH errors fatal
If the NFS client was initially created in a container, and that
container is torn down, there is usually no possibity to go back and
destroy any NFS clients that are hung because their virtual network
devices have been unlinked.
Add a flag that tells the NFS client that in these circumstances, it
should treat ENETDOWN and ENETUNREACH errors as fatal to the NFS client.
The option defaults to being on when the mount happens from inside a net
namespace that is not "init_net".
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>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions