<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/dlm/lowcomms.c, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-11-30T22:34:43Z</updated>
<entry>
<title>dlm: always use GFP_NOFS</title>
<updated>2009-11-30T22:34:43Z</updated>
<author>
<name>David Teigland</name>
</author>
<published>2009-11-30T22:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=573c24c4af6664ffcd9aa7ba617a35fde2b95534'/>
<id>urn:sha1:573c24c4af6664ffcd9aa7ba617a35fde2b95534</id>
<content type='text'>
Replace all GFP_KERNEL and ls_allocation with GFP_NOFS.
ls_allocation would be GFP_KERNEL for userland lockspaces
and GFP_NOFS for file system lockspaces.

It was discovered that any lockspaces on the system can
affect all others by triggering memory reclaim in the
file system which could in turn call back into the dlm
to acquire locks, deadlocking dlm threads that were
shared by all lockspaces, like dlm_recv.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: fix socket fd translation</title>
<updated>2009-09-30T17:19:44Z</updated>
<author>
<name>David Teigland</name>
</author>
<published>2009-09-24T20:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6861f350785bf476c2d4e3b9cb69ee36b78df2fc'/>
<id>urn:sha1:6861f350785bf476c2d4e3b9cb69ee36b78df2fc</id>
<content type='text'>
The code to set up sctp sockets was not using the sockfd_lookup()
and sockfd_put() routines to translate an fd to a socket.  The
direct fget and fput calls were resulting in error messages from
alloc_fd().

Also clean up two log messages and remove a third, related to
setting up sctp associations.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: fix lowcomms_connect_node for sctp</title>
<updated>2009-09-30T17:19:44Z</updated>
<author>
<name>David Teigland</name>
</author>
<published>2009-09-18T19:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04bedd79a7037ee7af816b06c60c738144475c4a'/>
<id>urn:sha1:04bedd79a7037ee7af816b06c60c738144475c4a</id>
<content type='text'>
The recently added dlm_lowcomms_connect_node() from
391fbdc5d527149578490db2f1619951d91f3561 does not work
when using SCTP instead of TCP.  The sctp connection code
has nothing to do without data to send.  Check for no data
in the sctp connection code and do nothing instead of
triggering a BUG.  Also have connect_node() do nothing
when the protocol is sctp.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: use kernel_sendpage</title>
<updated>2009-08-24T18:18:04Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2009-08-24T18:18:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1329e3f2c898cfabb6ed236d3fb8c1725197af53'/>
<id>urn:sha1:1329e3f2c898cfabb6ed236d3fb8c1725197af53</id>
<content type='text'>
Using kernel_sendpage() is cleaner and safer than following
sock-&gt;ops ourselves.

Signed-off-by: Paolo Bonzini &lt;bonzini@gnu.org&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: fix connection close handling</title>
<updated>2009-08-24T18:13:56Z</updated>
<author>
<name>Lars Marowsky-Bree</name>
</author>
<published>2009-08-11T21:18:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=063c4c99630c0b06afad080d2a18bda64172c1a2'/>
<id>urn:sha1:063c4c99630c0b06afad080d2a18bda64172c1a2</id>
<content type='text'>
Closing a connection to a node can create problems if there are
outstanding messages for that node.  The problems include dlm_send
spinning attempting to reconnect, or BUG from tcp_connect_to_sock()
attempting to use a partially closed connection.

To cleanly close a connection, we now first attempt to send any pending
messages, cancel any remaining workqueue work, and flag the connection
as closed to avoid reconnect attempts.

Signed-off-by: Lars Marowsky-Bree &lt;lmb@suse.de&gt;
Signed-off-by: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: fix double-release of socket in error exit path</title>
<updated>2009-08-18T20:09:24Z</updated>
<author>
<name>Casey Dahlin</name>
</author>
<published>2009-07-28T17:29:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5711b8e5a437ca7d35321d19de568b4f76a7739'/>
<id>urn:sha1:b5711b8e5a437ca7d35321d19de568b4f76a7739</id>
<content type='text'>
The last correction to the tcp_connect_to_sock error exit path,
commit a89d63a159b1ba5833be2bef00adf8ad8caac8be, can free an already
freed socket, due to collision with a previous (incomplete) attempt
to fix the same issue, commit 311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4.

Signed-off-by: Casey Dahlin &lt;cdahlin@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: free socket in error exit path</title>
<updated>2009-07-14T17:28:43Z</updated>
<author>
<name>Casey Dahlin</name>
</author>
<published>2009-07-14T17:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a89d63a159b1ba5833be2bef00adf8ad8caac8be'/>
<id>urn:sha1:a89d63a159b1ba5833be2bef00adf8ad8caac8be</id>
<content type='text'>
In the tcp_connect_to_sock() error exit path, the socket
allocated at the top of the function was not being freed.

Signed-off-by: Casey Dahlin &lt;cdahlin@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: use more NOFS allocation</title>
<updated>2009-05-15T16:24:59Z</updated>
<author>
<name>David Teigland</name>
</author>
<published>2009-05-15T15:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=748285ccf7ea76d3d76d0d5f2945ad6fb91f5329'/>
<id>urn:sha1:748285ccf7ea76d3d76d0d5f2945ad6fb91f5329</id>
<content type='text'>
Change some GFP_KERNEL allocations to use either GFP_NOFS or
ls_allocation (when available) which the fs sets to GFP_NOFS.
The point is to prevent allocations from going back into the
cluster fs in places where that might lead to deadlock.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: connect to nodes earlier</title>
<updated>2009-05-15T14:34:12Z</updated>
<author>
<name>Christine Caulfield</name>
</author>
<published>2009-05-07T15:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=391fbdc5d527149578490db2f1619951d91f3561'/>
<id>urn:sha1:391fbdc5d527149578490db2f1619951d91f3561</id>
<content type='text'>
Make network connections to other nodes earlier, in the context of
dlm_recoverd.  This avoids connecting to nodes from dlm_send where we
try to avoid allocations which could possibly deadlock if memory reclaim
goes into the cluster fs which may try to do a dlm operation.

Signed-off-by: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: replace idr with hash table for connections</title>
<updated>2009-03-11T17:20:58Z</updated>
<author>
<name>Christine Caulfield</name>
</author>
<published>2009-01-28T18:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e9ccc372dc855900c4a75b21286038938e288c7'/>
<id>urn:sha1:5e9ccc372dc855900c4a75b21286038938e288c7</id>
<content type='text'>
Integer nodeids can be too large for the idr code; use a hash
table instead.

Signed-off-by: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
</feed>
