This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/dlm-kernel/src lockqueue.c
- From: teigland at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 14 Jan 2008 15:57:46 -0000
- Subject: cluster/dlm-kernel/src lockqueue.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: teigland@sourceware.org 2008-01-14 15:57:46
Modified files:
dlm-kernel/src : lockqueue.c
Log message:
bz 351321
add_to_requestqueue() can add a new message to the requestqueue
just after process_requestqueue() checks it and determines it's
empty. This means dlm_recvd will spin forever in wait_requestqueue()
waiting for the message to be removed.
The same problem was found and fixed in the RHEL5 code (and then
subsequently changed again). This patch is the RHEL4 equivalent of the
original RHEL5 fix.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/lockqueue.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.37.2.11&r2=1.37.2.12