]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vlserver: Access cache via vl_ctx
authorAndrew Deason <adeason@sinenomine.net>
Fri, 21 May 2010 20:54:33 +0000 (15:54 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 29 Aug 2013 10:25:04 +0000 (03:25 -0700)
commitc155fa4fe2a2c6ebc2da31083c24ddeb355b5700
treebdf3c5ff0a480bb2b52b29ab92863da8c9947b4d
parent08745d9e2abf92d2d99dc44ffd8fe7db658b6606
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.

Reviewed-on: http://gerrit.openafs.org/2105
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 1f532d099b8b084d43dd0140890448464325b602)

Change-Id: I161b6c41e104af045941663f78148037313036ee
Reviewed-on: http://gerrit.openafs.org/9422
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/vlserver/vlprocs.c
src/vlserver/vlserver.c
src/vlserver/vlserver_internal.h
src/vlserver/vlutils.c