afs: Dispatch fileserver probes in priority order
authorDavid Howells <dhowells@redhat.com>
Mon, 30 Oct 2023 11:43:24 +0000 (11:43 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 1 Jan 2024 16:37:27 +0000 (16:37 +0000)
commit92f091cdddace38e57ad570663b058a38b4d8bed
tree991f09f937e580fac3fc823a74aaf81b7e863da8
parentd14cf8edd30678b5d1e3671466d458bf72a53e86
afs: Dispatch fileserver probes in priority order

When probing all the addresses for a fileserver, dispatch them in order of
descending priority to try and get back highest priority one first.

Also add a tracepoint to show the transmission and completion of the
probes.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
fs/afs/fs_probe.c
include/trace/events/afs.h