]> git.michaelhowe.org Git - packages/o/openafs.git/commit
auth: fix cellservdb update check
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 12 Sep 2013 16:20:33 +0000 (12:20 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 24 Sep 2013 12:14:40 +0000 (05:14 -0700)
commit0f795f08158ca65242b943ff89525e6901970bec
tree6a47868166ec7ec16233ce93467984bd59bbc6fd
parent6e29c74fbd304e29b9d6309b4a79db17416fb081
auth: fix cellservdb update check

Fix a bug introduced by the check to avoid excessive stats of the
cellservdb.  Fixes a bug where cached cell config data is served for up
to one second after a write.

Check the timeRead field which is reset after a write to indicate the
data should be read.

Fixes commit 5cdc211b8bf1b3f5419ebe52ecc9d3772ffdf9a6 on the 1.6.x branch.

Reviewed-on: http://gerrit.openafs.org/10230
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 73ae85bd59cfe9fca2daeb7dc0aa0917368bb5bf)

Change-Id: I01c09383b0ba417aca13b2ef7724d4fde91e327a
Reviewed-on: http://gerrit.openafs.org/10247
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/auth/cellconfig.c