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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 13 Mar 2008 00:39:18 EDT


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

Modified Files:
      Tag: openafs-devel-1_5_x
	afsd_init.c cm.h cm_callback.c cm_conn.c cm_ioctl.c 
	cm_performance.c cm_scache.c cm_scache.h cm_server.c 
	cm_vnodeops.c cm_volstat.c cm_volume.c cm_volume.h 
Log Message:
DELTA DEVEL15-windows-remove-scache-volp-20080312
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

The cm_scache structure has included a reference to the associated cm_volume_t,
volp.  By doing so the reference count on the cm_volume_t objects never hits
zero unless all of the cm_scache_t objects in that volume have been reused.
This prevents cm_volume object recycling.

This commit removes the hard reference and instead adds a function
cm_GetVolumeByFID which obtains a reference to the cm_volume that matches
the cm_scache fid value as needed.

A new "Volumes" registry value is added to permit explicit specification
of the number of volume objects to be allocated.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.35 1.79.2.36
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm.h 1.17.2.12 1.17.2.13
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_callback.c 1.41.4.37 1.41.4.38
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_conn.c 1.49.2.38 1.49.2.39
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_ioctl.c 1.73.2.37 1.73.2.38
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_performance.c 1.1.2.3 1.1.2.4
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.68 1.35.2.69
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_scache.h 1.21.2.23 1.21.2.24
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_server.c 1.25.2.27 1.25.2.28
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.69 1.69.2.70
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_volstat.c 1.1.2.5 1.1.2.6
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.34 1.14.4.35
DEVEL15-windows-remove-scache-volp-20080312 openafs/src/WINNT/afsd/cm_volume.h 1.5.6.10 1.5.6.11