diff options
author | Scott Mayhew <smayhew@redhat.com> | 2019-03-26 23:06:30 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-04-24 15:46:34 +0200 |
commit | 8a9f4f41248a4dc00a9f0831a50f8b7a2fd86bfc (patch) | |
tree | dd390e0d6c31e64a32c62cb4c45e0a539f268306 /net/sunrpc/auth.c | |
parent | nfsd: re-order client tracking method selection (diff) | |
download | linux-8a9f4f41248a4dc00a9f0831a50f8b7a2fd86bfc.tar.xz linux-8a9f4f41248a4dc00a9f0831a50f8b7a2fd86bfc.zip |
nfsd: handle legacy client tracking records sent by nfsdcld
The new nfsdcld will do a one-time "upgrade" where it searches for
records from nfsdcltrack and the legacy tracking during startup.
Legacy records will be prefixed with the string "hash:", which we need
to strip off before adding to the reclaim_str_hashtbl. When legacy
records are encountered, set the new cn_has_legacy flag in the cld_net.
When this flag is set, if the search for a reclaim record based on the
client name string fails, then do a second search based on the hash of
the name string.
Note that if there are legacy records then the grace period will not
be lifted early via the tracking of RECLAIM_COMPLETEs.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/auth.c')
0 files changed, 0 insertions, 0 deletions