OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 14 Apr 2008 17:32:28 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd
Modified Files:
cm.h cm_callback.c cm_conn.c cm_ioctl.c cm_performance.c
cm_scache.c cm_vnodeops.c cm_volume.c cm_volume.h
Log Message:
DELTA windows-volume-20080414
AUTHOR jaltman@secure-endpoints.com
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.
--- DELTA config follows ---
windows-volume-20080414 openafs/src/WINNT/afsd/cm.h 1.31 1.32
windows-volume-20080414 openafs/src/WINNT/afsd/cm_callback.c 1.84 1.85
windows-volume-20080414 openafs/src/WINNT/afsd/cm_conn.c 1.89 1.90
windows-volume-20080414 openafs/src/WINNT/afsd/cm_ioctl.c 1.117 1.118
windows-volume-20080414 openafs/src/WINNT/afsd/cm_performance.c 1.3 1.4
windows-volume-20080414 openafs/src/WINNT/afsd/cm_scache.c 1.109 1.110
windows-volume-20080414 openafs/src/WINNT/afsd/cm_vnodeops.c 1.143 1.144
windows-volume-20080414 openafs/src/WINNT/afsd/cm_volume.c 1.51 1.52
windows-volume-20080414 openafs/src/WINNT/afsd/cm_volume.h 1.17 1.18