]> git.ipfire.org Git - thirdparty/linux.git/commit
afs: Don't cache preferred address
authorDavid Howells <dhowells@redhat.com>
Wed, 13 Mar 2024 08:15:02 +0000 (08:15 +0000)
committerChristian Brauner <brauner@kernel.org>
Thu, 14 Mar 2024 11:13:21 +0000 (12:13 +0100)
commit83505bde45e347f1451d007b3ddd7f06cee4c269
treeac00fd7b49cf8f5c298849f21ce2776307f9a405
parent0aec3847d044273733285dcff90afda89ad461d2
afs: Don't cache preferred address

In the AFS fileserver rotation algorithm, don't cache the preferred address
for the server as that will override the explicit preference if a
non-preferred address responds first.

Fixes: 495f2ae9e355 ("afs: Fix fileserver rotation")
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20240313081505.3060173-2-dhowells@redhat.com
Reviewed-by: Marc Dionne <marc.dionne@auristor.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/afs/rotate.c