]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-misc-fix-20061004
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 5 Oct 2006 06:41:28 +0000 (06:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 5 Oct 2006 06:41:28 +0000 (06:41 +0000)
commit139a46495ea86979802a286c6532f70fe831f27b
tree19034cf55dd39d5027eef9f8c10f869ef29c1b16
parent8d66c0f575880f1d4c8935d1a0921e14e4474feb
DEVEL15-windows-misc-fix-20061004

more cleanup from recent patches.  comment out the recycling code because
it is not possible to implement it using the current locking hierarchy.

change cm_BufWrite to take a pointer to cm_scache_t instead of a fid
which must be used to look up a new reference to the cm_scache_t.
more often than not we already have the scp and in the one case we
don't we can let the caller look up the scp and then call cm_BufWrite
if it is found.  If not, we have saved a function call and a bunch
of lock operations.

add a lot more logging.

improve the scp mutex handling within smb_CloseFID

(cherry picked from commit 38d464e5791dbd96d6da85a0c0123f8b575f4e39)
src/WINNT/afsd/cm_buf.c
src/WINNT/afsd/cm_daemon.c
src/WINNT/afsd/cm_dcache.c
src/WINNT/afsd/cm_dnlc.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/smb.c