Re: [Cluster-devel] [RFC] Switch the entire project to use -Werror

2007-08-31 Thread Patrick Caulfield
Patch to make qdisk compile ... I haven't tested this BTW Patrick Index: disk.c === RCS file: /cvs/cluster/cluster/cman/qdisk/disk.c,v retrieving revision 1.4 diff -u -p -r1.4 disk.c --- disk.c 23 Jun 2006 16:05:33 - 1.4 +++

[Cluster-devel] [PATCH] [DLM] bz#250464: Make dlm_sendd cond_resched more

2007-09-14 Thread Patrick Caulfield
Under high recovery loads dlm_sendd can monopolise the CPU and cause soft lockups. This one extra and one moved cond_resched() make it yield a little more during such times keeping work moving. Signed-Off-By: Patrick Caulfield [EMAIL PROTECTED] Patrick diff -wup linux-2.6.18.ia64/fs/dlm

Re: [Cluster-devel] [PATCH] dlm: schedule during recovery loops

2007-09-26 Thread Patrick Caulfield
David Teigland wrote: Call schedule() in a bunch of places where the recovery code loops through lists of locks. The theory is that these lists become so long that looping through them triggers the softlockup watchdog. (usually on ia64, doesn't seem to happen often on other arch's).

Re: [Cluster-devel] Bug on dlm

2007-09-28 Thread Patrick Caulfield
votes: 2 Total votes: 2 Quorum: 2 Active subsystems: 7 Flags: Ports Bound: 0 177 Node name: inf18 Node ID: 2 Multicast addresses: 239.192.52.96 Node addresses: 192.168.22.18 Patrick Caulfield wrote: Jordi Prats wrote: Hi, I've found this while starting my server. It's a F7

[Cluster-devel] [PATCH] dlm: don't overwrite castparam if it's NULL

2007-10-01 Thread Patrick Caulfield
If the castaddr passed to the userland API is NULL then don't overwrite the existing castparam. This allows a different thread to cancel a lock request and the CANCEL AST gets delivered to the original thread. bz#306391 (for RHEL4) refers. Signed-Off-By: Patrick Caulfield [EMAIL PROTECTED

Re: [Cluster-devel] [RFC] Killing ccs for good

2007-10-30 Thread Patrick Caulfield
Kevin Anderson wrote: On Tue, 2007-10-23 at 09:33 +0200, Fabio Massimo Di Nitto wrote: Hi everybody, a few months ago David tickled me with the idea of killing ccs, so I started poking around for fun here and there and I think that I am at a point where we can start looking at the work it

[Cluster-devel] Re: [PATCH] [DLM] Bind connections from known local address when using TCP

2007-10-31 Thread Patrick Caulfield
Steven Whitehouse wrote: Hi, On Tue, 2007-10-30 at 14:02 +, Patrick Caulfield wrote: Steven Whitehouse wrote: Hi, On Thu, 2007-10-25 at 18:49 -0400, Lon Hohberger wrote: A common problem occurs when multiple IP addresses within the same subnet are assigned to the same NIC. If we

Re: [Cluster-devel] [PATCH][RFC] add cman_winit to libcman

2007-11-05 Thread Patrick Caulfield
Lon Hohberger wrote: On Mon, 2007-11-05 at 07:52 -0500, Fabio Massimo Di Nitto wrote: ACK - but winit isn't working for me... cman_wait_init ? cman_init_wait ? I think it should be cman_wait_init() In isolation I preferred cman_init_wait() but that looks inconsistent with thr existing

Re: [Cluster-devel] [PATCH] dlm_controld: add multi-home

2007-12-10 Thread Patrick Caulfield
Steven Whitehouse wrote: Hi, On Mon, 2007-12-10 at 15:22 +, Patrick Caulfield wrote: This patch adds multi-home capability to dlm_controld. If a node has more than one address then the DLM will be told about all of them, rather than just the first as at present. It is assumed