Patch to try - Re: Sendmail rset command hangs socket on 1.6-Release
Matthew Dillon
dillon at apollo.backplane.com
Wed Aug 2 10:26:51 PDT 2006
Please try this patch and tell me if it works. I think we have an issue
when one process holds an exclusive lock while 2 or more processes are
trying to get a shared lock, or vise-versa.
-Matt
Index: kern_lockf.c
===================================================================
RCS file: /cvs/src/sys/kern/kern_lockf.c,v
retrieving revision 1.32
diff -u -r1.32 kern_lockf.c
--- kern_lockf.c 25 Jul 2006 20:01:50 -0000 1.32
+++ kern_lockf.c 2 Aug 2006 17:23:56 -0000
@@ -772,8 +772,10 @@
TAILQ_REMOVE(&lock->lf_blocked, range, lf_link);
range->lf_flags = 1;
wakeup(range);
+#if 0
if (range->lf_start >= start && range->lf_end <= end)
break;
+#endif
}
}
More information about the Bugs
mailing list