<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/fs/dlm/midcomms.c, branch v3.2.86</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.86</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.86'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2008-12-23T16:15:40Z</updated>
<entry>
<title>dlm: fix up memory allocation flags</title>
<updated>2008-12-23T16:15:40Z</updated>
<author>
<name>Steven Whitehouse</name>
<email>swhiteho@redhat.com</email>
</author>
<published>2008-11-12T22:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d6d7b702a3a1ca50f7ca2bebaa79c80425156bac'/>
<id>urn:sha1:d6d7b702a3a1ca50f7ca2bebaa79c80425156bac</id>
<content type='text'>
Use ls_allocation for memory allocations, which a cluster fs sets to
GFP_NOFS.  Use GFP_NOFS for allocations when no lockspace struct is
available.  Taking dlm locks needs to avoid calling back into the
cluster fs because write-out can require taking dlm locks.

Cc: Christine Caulfield &lt;ccaulfie@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: dlm_process_incoming_buffer() fixes</title>
<updated>2008-02-04T07:22:42Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2008-01-25T05:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=eef7d739c218cb2546cf95686db77de0d76e4122'/>
<id>urn:sha1:eef7d739c218cb2546cf95686db77de0d76e4122</id>
<content type='text'>
* check that length is large enough to cover the non-variable part of message or
  rcom resp. (after checking that it's large enough to cover the header, of
  course).

* kill more pointless casts

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>dlm: align midcomms message buffer</title>
<updated>2008-01-30T17:04:25Z</updated>
<author>
<name>Fabio M. Di Nitto</name>
<email>fabbione@ubuntu.com</email>
</author>
<published>2008-01-30T16:56:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e7847d35ac39fe92c94540e88ac3d0e177f52d9e'/>
<id>urn:sha1:e7847d35ac39fe92c94540e88ac3d0e177f52d9e</id>
<content type='text'>
gcc does not guarantee that an auto buffer is 64bit aligned.
This change allows sparc64 to work.

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] block dlm_recv in recovery transition</title>
<updated>2007-10-10T07:56:38Z</updated>
<author>
<name>David Teigland</name>
<email>teigland@redhat.com</email>
</author>
<published>2007-09-27T20:53:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c36258b5925e6cf6bf72904635100593573bfcff'/>
<id>urn:sha1:c36258b5925e6cf6bf72904635100593573bfcff</id>
<content type='text'>
Introduce a per-lockspace rwsem that's held in read mode by dlm_recv
threads while working in the dlm.  This allows dlm_recv activity to be
suspended when the lockspace transitions to, from and between recovery
cycles.

The specific bug prompting this change is one where an in-progress
recovery cycle is aborted by a new recovery cycle.  While dlm_recv was
processing a recovery message, the recovery cycle was aborted and
dlm_recoverd began cleaning up.  dlm_recv decremented recover_locks_count
on an rsb after dlm_recoverd had reset it to zero.  This is fixed by
suspending dlm_recv (taking write lock on the rwsem) before aborting the
current recovery.

The transitions to/from normal and recovery modes are simplified by using
this new ability to block dlm_recv.  The switch from normal to recovery
mode means dlm_recv goes from processing locking messages, to saving them
for later, and vice versa.  Races are avoided by blocking dlm_recv when
setting the flag that switches between modes.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] rename dlm_config_info fields</title>
<updated>2007-02-05T18:36:37Z</updated>
<author>
<name>David Teigland</name>
<email>teigland@redhat.com</email>
</author>
<published>2007-01-09T15:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=68c817a1c4e21b893672ac73d8a498e6647453aa'/>
<id>urn:sha1:68c817a1c4e21b893672ac73d8a498e6647453aa</id>
<content type='text'>
Add a "ci_" prefix to the fields in the dlm_config_info struct so that we
can use macros to add configfs functions to access them (in a later
patch).  No functional changes in this patch, just naming changes.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] Update DLM to the latest patch level</title>
<updated>2006-01-20T08:47:07Z</updated>
<author>
<name>David Teigland</name>
<email>teigland@redhat.com</email>
</author>
<published>2006-01-20T08:47:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=901359256b2666f52a3a7d3f31927677e91b3a2a'/>
<id>urn:sha1:901359256b2666f52a3a7d3f31927677e91b3a2a</id>
<content type='text'>
Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
Signed-off-by: Steve Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[DLM] The core of the DLM for GFS2/CLVM</title>
<updated>2006-01-18T09:30:29Z</updated>
<author>
<name>David Teigland</name>
<email>teigland@redhat.com</email>
</author>
<published>2006-01-18T09:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e7fd41792fc0ee52a05fcaac87511f118328d147'/>
<id>urn:sha1:e7fd41792fc0ee52a05fcaac87511f118328d147</id>
<content type='text'>
This is the core of the distributed lock manager which is required
to use GFS2 as a cluster filesystem. It is also used by CLVM and
can be used as a standalone lock manager independantly of either
of these two projects.

It implements VAX-style locking modes.

Signed-off-by: David Teigland &lt;teigland@redhat.com&gt;
Signed-off-by: Steve Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
</feed>
