]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
afs: Fix server rotation's handling of fileserver probe failure
authorDavid Howells <dhowells@redhat.com>
Thu, 10 May 2018 13:22:38 +0000 (14:22 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:58:16 +0000 (14:58 +0200)
commitc6e9bf4d3399e0e50607ccd39313220c158acc14
tree2076b40a54afa3fd3c209e73408eda0a2c14a543
parent62e631470564d19b62a15c471dee5ffec501aeff
afs: Fix server rotation's handling of fileserver probe failure

BugLink: http://bugs.launchpad.net/bugs/1794889
[ Upstream commit ec5a3b4b507efca903d848518dcf2ebf7b04b466 ]

The server rotation algorithm just gives up if it fails to probe a
fileserver.  Fix this by rotating to the next fileserver instead.

Fixes: d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/afs/rotate.c