[OpenAFS-devel] 1.3.87-rhel4.0 on uname -r ->2.6.9-11.ELsmp

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Wed, 17 Aug 2005 10:12:53 -0400


In message <OF1EF66810.462712CD-ON86257060.004C0D25-86257060.004CB233@us.ibm.co
m>,Kirby Bakken writes:
>Here's the cmdebug output:

the cmdebug output was useful.  this is bad:

	Lock afs_xvcache status: (reader_waitingupgrade_waiting, write_locked(pid:6722 at:130), 8 waiters)

can you try this patch?

Index: src/afs/LINUX/osi_vnodeops.c
===================================================================
RCS file: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v
retrieving revision 1.116
diff -u -u -r1.116 osi_vnodeops.c
--- src/afs/LINUX/osi_vnodeops.c	2 Aug 2005 18:59:46 -0000	1.116
+++ src/afs/LINUX/osi_vnodeops.c	17 Aug 2005 14:06:29 -0000
@@ -792,7 +788,7 @@
 
     AFS_GLOCK();
     if (vcp->states & CUnlinked)
-	(void) afs_remunlink(vcp, 1);		/* perhaps afs_InactiveVCache() instead */
+	(void) afs_InactiveVCache(vcp, NULL);
     AFS_GUNLOCK();
 
     iput(ip);