All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] dlm updates for 3.6
@ 2012-07-25 20:55 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2012-07-25 20:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

Hi Linus,

Please pull dlm updates from tag:

git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-3.6

This set includes a major redesign of recording the master node for
resources.  The old dir hash table, which just held the master node for
each resource, has been removed.  The rsb hash table has always duplicated
the master node value from the dir, and is now the single record of it.

Having two full hash tables of all resources has always been a waste,
especially since one just duplicated a single value from the other.
Local requests will now often require one instead of two lengthy hash
table searches.

The other substantial change is made possible by the dirtbl removal, and
fixes a long standing race between resource removal and lookup by
reworking how removal is done.  At the same time it improves the
efficiency of removal by avoiding repeated searches through a hash bucket.

The other commits include minor fixes and changes.

Thanks,
Dave

David Teigland (6):
      dlm: use rsbtbl as resource directory
      dlm: use idr instead of list for recovered rsbs
      dlm: fix race between remove and lookup
      dlm: use wait_event_timeout
      dlm: fix conversion deadlock from recovery
      dlm: fix missing dir remove

 fs/dlm/config.c       |    7 -
 fs/dlm/config.h       |    1 -
 fs/dlm/debug_fs.c     |  103 +++-
 fs/dlm/dir.c          |  287 +++--------
 fs/dlm/dir.h          |    7 +-
 fs/dlm/dlm_internal.h |   62 ++-
 fs/dlm/lock.c         | 1292 ++++++++++++++++++++++++++++++++++++++++---------
 fs/dlm/lock.h         |    5 +-
 fs/dlm/lockspace.c    |   45 +-
 fs/dlm/rcom.c         |  147 ++++--
 fs/dlm/rcom.h         |    1 +
 fs/dlm/recover.c      |  295 +++++++----
 fs/dlm/recover.h      |    2 +-
 fs/dlm/recoverd.c     |   14 +-
 14 files changed, 1600 insertions(+), 668 deletions(-)


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

only message in thread, other threads:[~2012-07-25 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25 20:55 [GIT PULL] dlm updates for 3.6 David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.