]> git.michaelhowe.org Git - packages/o/openafs.git/commit
auth: avoid excessive stat of cellservdb
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 27 Oct 2011 21:53:47 +0000 (17:53 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 3 Sep 2013 12:43:21 +0000 (05:43 -0700)
commit5cdc211b8bf1b3f5419ebe52ecc9d3772ffdf9a6
treecd131823f6b333d6fb8313c182f2704633298f19
parente77d5cea4a11677fea03abb2eb88717a1b686a94
auth: avoid excessive stat of cellservdb

The modified time resolution is one second, so only
stat the cellservdb file at most only once per second.

Reviewed-on: http://gerrit.openafs.org/5743
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 0e3bfa033ed230fcb46ad8e3c26c8b7aae6e00af)

Change-Id: Ia533d037cc772c085cfaad47035e2a29df64952e
Reviewed-on: http://gerrit.openafs.org/9435
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/auth/cellconfig.c
src/auth/cellconfig.p.h