OpenAFS CVS Commit: openafs/src/tbutc by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 26 Jul 2002 01:00:27 EDT


Update of /cvs/openafs/src/tbutc
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1.2/openafs/src/tbutc

Modified Files:
      Tag: openafs-stable-1_2_x
	Makefile.in 
Log Message:
DELTA STABLE12-tbutc-uses-not-thread-safe-status-20020725
AUTHOR rtb@pclella.cern.ch

"The multithreaded butc (src/tbutc/butc) includes bucoord/status.o, which is
compiled together with the other bucoord stuff without MT_CFLAGS and hence
without AFS_PTHREAD_ENV defined. Alas, it uses ObtainWriteLock and other
macros out of lock.h which *are* sensitive to AFS_PTHREAD_ENV. Consequently,
butc can hang trying to acquire the statusQueueLock when dumping volumes, in
particular if 'backup status' commands are issued frequently.

A proper fix would probably be to push some of those macros out of lock.h and
make them subroutines in lock.c.

A quick fix is ensuring status.c gets recompiled in tbutc/Makefile.in"


--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-tbutc-uses-not-thread-safe-status-20020725 openafs/src/tbutc/Makefile.in 1.5.2.1 1.5.2.2