David Teigland d4400156d4 [DLM] fix requestqueue race
Red Hat BZ 211914

There's a race between dlm_recoverd (1) enabling locking and (2) clearing
out the requestqueue, and dlm_recvd (1) checking if locking is enabled and
(2) adding a message to the requestqueue.  An order of recoverd(1),
recvd(1), recvd(2), recoverd(2) will result in a message being left on the
requestqueue.  The fix is to have dlm_recvd check if dlm_recoverd has
enabled locking after taking the mutex for the requestqueue and if it has
processing the message instead of queueing it.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-11-30 10:35:10 -05:00
..
2006-10-11 11:14:23 -07:00
2006-10-10 16:15:33 -07:00
2006-11-25 13:28:33 -08:00
2006-11-30 10:35:10 -05:00
2006-10-11 11:14:21 -07:00
2006-10-11 11:14:21 -07:00
2006-11-16 11:43:38 -08:00
2006-11-25 13:28:33 -08:00
2006-10-10 16:15:34 -07:00
2006-10-11 11:14:23 -07:00
2006-10-11 11:14:23 -07:00
2006-11-16 11:43:38 -08:00
2006-10-03 23:01:26 +02:00
2006-11-25 13:28:33 -08:00
2006-10-11 11:14:23 -07:00
2006-10-05 16:18:55 -07:00
2006-10-10 16:15:34 -07:00
2006-11-16 11:43:38 -08:00
2006-01-11 18:42:13 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-04 06:51:26 -06:00
2006-10-11 11:14:25 -07:00
2006-10-31 08:06:58 -08:00
2006-01-08 20:12:40 -08:00
2006-10-11 11:14:21 -07:00
2006-10-02 07:57:15 -07:00
2006-04-11 13:53:33 +02:00
2006-10-01 00:39:33 -07:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2006-10-01 00:39:19 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-10-01 00:39:29 -07:00
2006-03-23 07:38:12 -08:00
2006-10-01 00:39:19 -07:00
2005-04-16 15:20:36 -07:00