diff options
author | 2017-08-18 17:12:51 +1000 | |
---|---|---|
committer | 2017-08-20 12:39:28 -0400 | |
commit | fd01b2597941d9c17980222999b0721648b383b8 (patch) | |
tree | 8b557a85fb38917bde44706cfe3b4b8b444625e6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFS: Remove unused parameter gfp_flags from nfs_pageio_init() (diff) | |
download | wireguard-linux-fd01b2597941d9c17980222999b0721648b383b8.tar.xz wireguard-linux-fd01b2597941d9c17980222999b0721648b383b8.zip |
SUNRPC: ECONNREFUSED should cause a rebind.
If you
- mount and NFSv3 filesystem
- do some file locking which requires the server
to make a GRANT call back
- unmount
- mount again and do the same locking
then the second attempt at locking suffers a 30 second delay.
Unmounting and remounting causes lockd to stop and restart,
which causes it to bind to a new port.
The server still thinks the old port is valid and gets ECONNREFUSED
when trying to contact it.
ECONNREFUSED should be seen as a hard error that is not worth
retrying. Rebinding is the only reasonable response.
This patch forces a rebind if that makes sense.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions