aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/trace/events/afs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-04-16 17:05:28 +0100
committerDavid Howells <dhowells@redhat.com>2020-05-31 15:19:51 +0100
commit810068059234551b6973b46ca572e654f0c5e665 (patch)
treeed26ef4ccce3b30d5b20c731234e763dea699eba /include/trace/events/afs.h
parentafs: Always include dir in bulk status fetch from afs_do_lookup() (diff)
downloadwireguard-linux-810068059234551b6973b46ca572e654f0c5e665.tar.xz
wireguard-linux-810068059234551b6973b46ca572e654f0c5e665.zip
afs: Use the serverUnique field in the UVLDB record to reduce rpc ops
The U-version VLDB volume record retrieved by the VL.GetEntryByNameU rpc op carries a change counter (the serverUnique field) for each fileserver listed in the record as backing that volume. This is incremented whenever the registration details for a fileserver change (such as its address list). Note that the same value will be seen in all UVLDB records that refer to that fileserver. This should be checked before calling the VL server to re-query the address list for a fileserver. If it's the same, there's no point doing the query. Reported-by: Jeffrey Altman <jaltman@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/trace/events/afs.h')
0 files changed, 0 insertions, 0 deletions