vlserver: Access cache via vl_ctx
authorAndrew Deason <adeason@sinenomine.net>
Fri, 21 May 2010 20:54:33 +0000 (15:54 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 23 Aug 2010 16:32:39 +0000 (09:32 -0700)
commit1f532d099b8b084d43dd0140890448464325b602
treeb3eb0ac21a0c45fc78cc590ca0264a09f97e0d86
parent3bf0350218dcf4d6e086941fac394769b6b9cc4a
vlserver: Access cache via vl_ctx

The vlserver application-level ubik cache (which consists of
HostAddress, ex_addr, and cheader) is currently being accessed via
global variables everywhere. Instead, access these via the new vl_ctx
struct that is passed to functions during a transaction, so we have
the ability to modify the cache without making all changes visible as
we change it.

Change-Id: I24bd5495539057d169aef4b5b0b6850b77172cab
Reviewed-on: http://gerrit.openafs.org/2105
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vlserver/vlprocs.c
src/vlserver/vlserver.c
src/vlserver/vlserver_internal.h
src/vlserver/vlutils.c