afs: Dispatch vlserver probes in priority order
authorDavid Howells <dhowells@redhat.com>
Mon, 30 Oct 2023 11:53:16 +0000 (11:53 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 1 Jan 2024 16:37:27 +0000 (16:37 +0000)
commite6a7d7f71b17e0a44e2155bdad47eae7b5368503
tree6279edcf2624cc9abcb55f15b1251828530ec195
parent92f091cdddace38e57ad570663b058a38b4d8bed
afs: Dispatch vlserver probes in priority order

When probing all the addresses for a volume location server, 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/internal.h
fs/afs/vl_list.c
fs/afs/vl_probe.c
include/trace/events/afs.h