]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-buffers-20071210
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 10 Dec 2007 20:35:06 +0000 (20:35 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 10 Dec 2007 20:35:06 +0000 (20:35 +0000)
commitfd7856fa5d60775aae763350317eea4c14964812
tree48b37bc02f3ba593e4170b590541660cfb28fa67
parent2dd74f42d3d1ed9412a6eb99d5f826b1e12c0788
DEVEL15-windows-buffers-20071210

LICENSE MIT

after removing cm_buf_t objects from the hash tables, clear the HT list
pointers to make debugging easier.

when modifying data version values in buf_ForceDataVersion() grab a
read lock on buf_globalLock instead of a write lock.  A write lock is
only required if the hash table linked lists are being modified.
The dataVersion itself is protected by the cm_scache_t mx mutex being
held.

(cherry picked from commit ef5e9a4dd7a4977d7d9f41266f2a0c491720e387)
src/WINNT/afsd/cm_buf.c