OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 14 Apr 2008 18:46:39 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-kdfs/src/WINNT/afsd

Modified Files:
      Tag: openafs-windows-kdfs-ifs-branch
	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 KDFS-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 for openafs-windows-kdfs-ifs-branch follows ---
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm.h 1.31 1.31.2.1
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_callback.c 1.82.2.2 1.82.2.3
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_conn.c 1.89 1.89.2.1
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_ioctl.c 1.113.2.1 1.113.2.2
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_performance.c 1.3 1.3.2.1
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_scache.c 1.105.2.1 1.105.2.2
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_vnodeops.c 1.141.2.1 1.141.2.2
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_volume.c 1.50.2.1 1.50.2.2
KDFS-windows-volume-20080414 openafs/src/WINNT/afsd/cm_volume.h 1.16.2.1 1.16.2.2