<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/dlm/lowcomms.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-07-14T18:56:59Z</updated>
<entry>
<title>dlm: release socket on error</title>
<updated>2008-07-14T18:56:59Z</updated>
<author>
<name>Masatake YAMATO</name>
</author>
<published>2008-06-27T13:35:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4'/>
<id>urn:sha1:311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4</id>
<content type='text'>
It seems that `sock' allocated by sock_create_kern in
tcp_connect_to_sock() of dlm/fs/lowcomms.c is not released if
dlm_nodeid_to_addr an error.

Acked-by: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Signed-off-by: Masatake YAMATO &lt;yamato@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL</title>
<updated>2008-05-19T20:37:27Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2008-05-11T20:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0035a4b14931eb62a5f8a7762284c18e7ab14289'/>
<id>urn:sha1:0035a4b14931eb62a5f8a7762284c18e7ab14289</id>
<content type='text'>
Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Cc: David Teigland &lt;teigland@redhat.com&gt;
Cc: cluster-devel@redhat.com
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: convert connections_lock in a mutex</title>
<updated>2008-05-19T20:37:27Z</updated>
<author>
<name>Matthias Kaehlcke</name>
</author>
<published>2008-05-12T15:04:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a936ce71eed7b887b8a0d6c54dd8a9072f71c9f'/>
<id>urn:sha1:7a936ce71eed7b887b8a0d6c54dd8a9072f71c9f</id>
<content type='text'>
The semaphore connections_lock is used as a mutex.  Convert it to the mutex
API.

Signed-off-by: Matthias Kaehlcke &lt;matthias@kaehlcke.net&gt;
Cc: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Cc: David Teigland &lt;teigland@redhat.com&gt;
Cc: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: close othercons</title>
<updated>2008-01-29T23:17:32Z</updated>
<author>
<name>Patrick Caulfeld</name>
</author>
<published>2008-01-09T15:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39bd4177ddbeb4c86e854d3d5c4a6a26088e601e'/>
<id>urn:sha1:39bd4177ddbeb4c86e854d3d5c4a6a26088e601e</id>
<content type='text'>
This patch addresses a problem introduced with the last round of
lowcomms patches where the 'othercon' connections do not get freed when
the DLM shuts down.

This results in the error message
"slab error in kmem_cache_destroy(): cache `dlm_conn': Can't free all
objects"

and the DLM cannot be restarted without a system reboot.

See bz#428119

Signed-off-by: Patrick Caulfield &lt;pcaulfie@redhat.com&gt;
Signed-off-by: Fabio M. Di Nitto &lt;fabbione@ubuntu.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: bind connections from known local address when using TCP</title>
<updated>2008-01-29T22:44:25Z</updated>
<author>
<name>Lon Hohberger</name>
</author>
<published>2007-10-25T22:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bd8fedaa16da1e24f38712ee759950d8c5f4f09'/>
<id>urn:sha1:6bd8fedaa16da1e24f38712ee759950d8c5f4f09</id>
<content type='text'>
A common problem occurs when multiple IP addresses within the same
subnet are assigned to the same NIC.  If we make a connection attempt to
another address on the same subnet as one of those addresses, the
connection attempt will not necessarily be routed from the address we
want.

In the case of the DLM, the other nodes will quickly drop the connection
attempt, causing problems.

This patch makes the DLM bind to the local address it acquired from the
cluster manager when using TCP prior to making a connection, obviating
the need for administrators to "fix" their systems or use clever routing
tricks.

Signed-off-by: Lon Hohberger &lt;lhh@redhat.com&gt;
Signed-off-by: Patrick Caulfield &lt;pcaulfie@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] lowcomms: Do not muck with sysctl_rmem_max.</title>
<updated>2007-11-07T12:11:42Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2007-11-07T07:48:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df61c952622f51facac21dd8dfa4d8a24dcb9657'/>
<id>urn:sha1:df61c952622f51facac21dd8dfa4d8a24dcb9657</id>
<content type='text'>
Use SO_RCVBUFFORCE instead.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[DLM] Make dlm_sendd cond_resched more</title>
<updated>2007-10-10T07:56:19Z</updated>
<author>
<name>Patrick Caulfield</name>
</author>
<published>2007-09-14T07:49:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d66f8277f53407754f50ae6bada68f1b68d04d48'/>
<id>urn:sha1:d66f8277f53407754f50ae6bada68f1b68d04d48</id>
<content type='text'>
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 &lt;pcaulfie@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] Fix lowcomms socket closing</title>
<updated>2007-10-10T07:55:39Z</updated>
<author>
<name>Patrick Caulfield</name>
</author>
<published>2007-08-20T14:13:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61d96be0f474df354c2ff4a2b2bf410b23a5cd60'/>
<id>urn:sha1:61d96be0f474df354c2ff4a2b2bf410b23a5cd60</id>
<content type='text'>
This patch fixes the slight mess made in lowcomms closing by previous patches
and fixes all sorts of DLM hangs.

Signed-Off-By: Patrick Caulfield &lt;pcaulfie@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] More othercon fixes</title>
<updated>2007-08-14T09:30:36Z</updated>
<author>
<name>Patrick Caulfield</name>
</author>
<published>2007-08-02T13:58:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e5f2825a8b721360b291f14f42cd7a25781156b'/>
<id>urn:sha1:9e5f2825a8b721360b291f14f42cd7a25781156b</id>
<content type='text'>
The last patch to clean out 'othercon' structures only fixed half the problem.
The attached addresses the other situations too, and fixes bz#238490

Signed-Off-By: Patrick Caulfield &lt;pcaulfie@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] zero unused parts of sockaddr_storage</title>
<updated>2007-08-14T09:29:27Z</updated>
<author>
<name>Patrick Caulfield</name>
</author>
<published>2007-07-17T15:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=01c8cab25863de007fe8c598d0033919ea8ae65e'/>
<id>urn:sha1:01c8cab25863de007fe8c598d0033919ea8ae65e</id>
<content type='text'>
When we build a sockaddr_storage for an IP address, clear the unused parts as
they could be used for node comparisons.

I have seen this occasionally make sctp connections fail.

Signed-Off-By: Patrick Caulfield &lt;pcaulfie@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
</feed>
