<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/fs/gfs2/locking/nolock, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/fs/gfs2/locking/nolock?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/fs/gfs2/locking/nolock?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2008-06-27T08:39:28Z</updated>
<entry>
<title>[GFS2] No lock_nolock</title>
<updated>2008-06-27T08:39:28Z</updated>
<author>
<name>Steven Whitehouse</name>
<email>swhiteho@redhat.com</email>
</author>
<published>2008-05-23T13:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=048bca223739368aa5b9ce7cfb1d576c32d66cc7'/>
<id>urn:sha1:048bca223739368aa5b9ce7cfb1d576c32d66cc7</id>
<content type='text'>
This patch merges the lock_nolock module into GFS2 itself. As well as removing
some of the overhead of the module, it also means that its now impossible to
build GFS2 without a lock module (which would be a pointless thing to do
anyway).

We also plan to merge lock_dlm into GFS2 in the future, but that is a more
tricky task, and will therefore be a separate patch.

Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
Cc: David Teigland &lt;teigland@redhat.com&gt;
</content>
</entry>
<entry>
<title>[GFS2] Clean up the glock core</title>
<updated>2008-06-27T08:39:22Z</updated>
<author>
<name>Steven Whitehouse</name>
<email>swhiteho@redhat.com</email>
</author>
<published>2008-05-21T16:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6802e3400ff4549525930ee744030c36fce9cc73'/>
<id>urn:sha1:6802e3400ff4549525930ee744030c36fce9cc73</id>
<content type='text'>
This patch implements a number of cleanups to the core of the
GFS2 glock code. As a result a lot of code is removed. It looks
like a really big change, but actually a large part of this patch
is either removing or moving existing code.

There are some new bits too though, such as the new run_queue()
function which is considerably streamlined. Highlights of this
patch include:

 o Fixes a cluster coherency bug during SH -&gt; EX lock conversions
 o Removes the "glmutex" code in favour of a single bit lock
 o Removes the -&gt;go_xmote_bh() for inodes since it was duplicating
   -&gt;go_lock()
 o We now only use the -&gt;lm_lock() function for both locks and
   unlocks (i.e. unlock is a lock with target mode LM_ST_UNLOCKED)
 o The fast path is considerably shortly, giving performance gains
   especially with lock_nolock
 o The glock_workqueue is now used for all the callbacks from the DLM
   which allows us to simplify the lock_dlm module (see following patch)
 o The way is now open to make further changes such as eliminating the two
   threads (gfs2_glockd and gfs2_scand) in favour of a more efficient
   scheme.

This patch has undergone extensive testing with various test suites
so it should be pretty stable by now.

Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
Cc: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>[GFS2] fix GFP_KERNEL misuses</title>
<updated>2008-04-10T08:55:26Z</updated>
<author>
<name>Josef Bacik</name>
<email>jbacik@redhat.com</email>
</author>
<published>2008-04-09T13:33:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=16c5f06f15ad4e5a5d6e90b78ffb1ac14319e445'/>
<id>urn:sha1:16c5f06f15ad4e5a5d6e90b78ffb1ac14319e445</id>
<content type='text'>
There are several places where GFP_KERNEL allocations happen under a glock,
which will result in hangs if we're under memory pressure and go to re-enter the
fs in order to flush stuff out.  This patch changes the culprits to GFS_NOFS to
keep this problem from happening.  Thank you,

Signed-off-by: Josef Bacik &lt;jbacik@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;

</content>
</entry>
<entry>
<title>[GFS2] Clean up duplicate includes in fs/gfs2/</title>
<updated>2007-10-10T07:54:44Z</updated>
<author>
<name>Jesper Juhl</name>
<email>jesper.juhl@gmail.com</email>
</author>
<published>2007-07-21T15:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=aa0481e58a9a97a97035725a712920b5fe32f348'/>
<id>urn:sha1:aa0481e58a9a97a97035725a712920b5fe32f348</id>
<content type='text'>
This patch cleans up duplicate includes in
	fs/gfs2/

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>header cleaning: don't include smp_lock.h when not used</title>
<updated>2007-05-08T18:15:07Z</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2007-05-08T07:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e63340ae6b6205fef26b40a75673d1c9c0c8bb90'/>
<id>urn:sha1:e63340ae6b6205fef26b40a75673d1c9c0c8bb90</id>
<content type='text'>
Remove includes of &lt;linux/smp_lock.h&gt; where it is not used/needed.
Suggested by Al Viro.

Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>locks: give posix_test_lock same interface as -&gt;lock</title>
<updated>2007-05-06T21:39:00Z</updated>
<author>
<name>Marc Eshel</name>
<email>eshel@almaden.ibm.com</email>
</author>
<published>2007-02-21T05:55:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9d6a8c5c213e34c475e72b245a8eb709258e968c'/>
<id>urn:sha1:9d6a8c5c213e34c475e72b245a8eb709258e968c</id>
<content type='text'>
posix_test_lock() and -&gt;lock() do the same job but have gratuitously
different interfaces.  Modify posix_test_lock() so the two agree,
simplifying some code in the process.

Signed-off-by: Marc Eshel &lt;eshel@almaden.ibm.com&gt;
Signed-off-by: "J. Bruce Fields" &lt;bfields@citi.umich.edu&gt;
</content>
</entry>
<entry>
<title>[GFS2] Fix bug in Makefiles for lock modules</title>
<updated>2006-09-27T16:20:06Z</updated>
<author>
<name>Steven Whitehouse</name>
<email>swhiteho@redhat.com</email>
</author>
<published>2006-09-27T16:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7e18c02be7c83a8cfd1319f0117f63509c20aa8e'/>
<id>urn:sha1:7e18c02be7c83a8cfd1319f0117f63509c20aa8e</id>
<content type='text'>
The Makefile had the wrong CONFIG_ variable in it so that in
case GFS2 was y and the lock modules were m, they were not
getting built properly.

Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[GFS2] Export lm_interface to kernel headers</title>
<updated>2006-09-19T12:45:18Z</updated>
<author>
<name>Fabio Massimo Di Nitto</name>
<email>fabbione@ubuntu.com</email>
</author>
<published>2006-09-19T05:56:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7d308590ae60d1f038a54a94e78a385c5c163452'/>
<id>urn:sha1:7d308590ae60d1f038a54a94e78a385c5c163452</id>
<content type='text'>
lm_interface.h has a few out of the tree clients such as GFS1
and userland tools.

Right now, these clients keeps a copy of the file in their build tree
that can go out of sync.

Move lm_interface.h to include/linux, export it to userland and
clean up fs/gfs2 to use the new location.

Signed-off-by: Fabio M. Di Nitto &lt;fabbione@ubuntu.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;

</content>
</entry>
<entry>
<title>[GFS2] Use void * instead of typedef for locking module interface</title>
<updated>2006-09-08T14:17:58Z</updated>
<author>
<name>Steven Whitehouse</name>
<email>swhiteho@redhat.com</email>
</author>
<published>2006-09-08T14:17:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9b47c11d1cbedcba685c9bd90c73fd41acdfab0e'/>
<id>urn:sha1:9b47c11d1cbedcba685c9bd90c73fd41acdfab0e</id>
<content type='text'>
As requested by Jan Engelhardt, this removes the typedefs in the
locking module interface and replaces them with void *. Also
since we are changing the interface, I've added a few consts
as well.

Cc: Jan Engelhardt &lt;jengelh@linux01.gwdg.de&gt;
Cc: David Teigland &lt;teigland@redhat.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>[GFS2] Remove unused sync_lvb code from lock modules</title>
<updated>2006-09-07T21:35:48Z</updated>
<author>
<name>Steven Whitehouse</name>
<email>swhiteho@redhat.com</email>
</author>
<published>2006-09-07T21:35:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5ce311ebdb90429519f7c6d2092e4ae6ca8cba74'/>
<id>urn:sha1:5ce311ebdb90429519f7c6d2092e4ae6ca8cba74</id>
<content type='text'>
This code is no longer used for anything and can be removed
from the locking modules. The sync_lvb function is not required
as this happens automatically with the current locking system.

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