mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] dlm patches for 2.6.29 (part 2)
@ 2009-01-09 21:41 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-01-09 21:41 UTC (permalink / raw)
  To: linux-kernel

Hi,

Here are two more dlm patches for merging in this cycle.

commit c7be761a8163d2f1ac0b606c21e4316b7abc5af7
Author: David Teigland <teigland@redhat.com>
Date:   Wed Jan 7 16:50:41 2009 -0600

    dlm: change rsbtbl rwlock to spinlock
    
    The rwlock is almost always used in write mode, so there's no reason
    to not use a spinlock instead.
    
    Signed-off-by: David Teigland <teigland@redhat.com>

 fs/dlm/debug_fs.c     |   24 ++++++++++++------------
 fs/dlm/dlm_internal.h |    2 +-
 fs/dlm/lock.c         |   26 +++++++++++++-------------
 fs/dlm/lockspace.c    |    2 +-
 fs/dlm/recover.c      |   10 +++++-----
 5 files changed, 32 insertions(+), 32 deletions(-)

commit 892c4467e335e9050c95e0d8409c136c4dadaca2
Author: David Teigland <teigland@redhat.com>
Date:   Wed Jan 7 16:48:52 2009 -0600

    dlm: fix seq_file usage in debugfs lock dump
    
    The old code would leak iterators and leave reference counts on
    rsbs because it was ignoring the "stop" seq callback.  The code
    followed an example that used the seq operations differently.
    This new code is based on actually understanding how the seq
    operations work.  It also improves things by saving the hash bucket
    in the position to avoid cycling through completed buckets in start.
    
    Siged-off-by: Davd Teigland <teigland@redhat.com>

 fs/dlm/debug_fs.c |  696 ++++++++++++++++++++++++++---------------------------
 1 files changed, 337 insertions(+), 359 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-09 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-09 21:41 [PATCH 0/2] dlm patches for 2.6.29 (part 2) David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®