diff options
author | David Howells <dhowells@redhat.com> | 2020-04-16 17:05:28 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-05-31 15:19:51 +0100 |
commit | 810068059234551b6973b46ca572e654f0c5e665 (patch) | |
tree | ed26ef4ccce3b30d5b20c731234e763dea699eba /fs/cifs | |
parent | 13fcc6356a94558a0a4857dc00cd26b3834a1b3e (diff) | |
download | linux-810068059234551b6973b46ca572e654f0c5e665.tar.bz2 |
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 'fs/cifs')
0 files changed, 0 insertions, 0 deletions