]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-volume-20080414
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 14 Apr 2008 23:44:03 +0000 (23:44 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 14 Apr 2008 23:44:03 +0000 (23:44 +0000)
commit6bb168751bfd040490ee8ff55ccdb28655c5ab8d
tree480cca7f7d491fb2e9301ff46ddf07e7fce53781
parent26e3d532de82c4f1fc1e7bb224124d65b11e2f4f
DEVEL15-windows-volume-20080414

LICENSE MIT

1. Convert cm_volume_t mutex to a rwlock (rw).

2. Don't hold cm_volume_t lock across RPCs

3. Add CM_VOLUMEFLAG_UPDATING_VL flag to prevent multiple threads
   from performing volume update calls at the same time on the same
   volume set.

4. Convert the .rw, .ro, and .bk cm_vol_state_t members of cm_volume_t
   to an array of cm_vol_state_t members indexed using the pre-existing
   RWVOL, ROVOL and BACKVOL preprocessor symbols.  This will permit
   consolidation of code and make it easier to add new volume types
   to the volume set in the future.

(cherry picked from commit 4440b9a61247a0da020042b4262695f0ef7d35de)
src/WINNT/afsd/cm.h
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_performance.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/cm_volume.h