1. 05 Sep, 2008 1 commit
    • Andrew Morton's avatar
      dlm: choose better identifiers · 27eccf46
      Andrew Morton authored
      sparc32:
      
      fs/dlm/config.c:397: error: expected identifier or '(' before '{' token
      fs/dlm/config.c: In function 'drop_node':
      fs/dlm/config.c:589: warning: initialization from incompatible pointer type
      fs/dlm/config.c:589: warning: initialization from incompatible pointer type
      fs/dlm/config.c: In function 'release_node':
      fs/dlm/config.c:601: warning: initialization from incompatible pointer type
      fs/dlm/config.c:601: warning: initialization from incompatible pointer type
      fs/dlm/config.c: In function 'show_node':
      fs/dlm/config.c:717: warning: initialization from incompatible pointer type
      fs/dlm/config.c:717: warning: initialization from incompatible pointer type
      fs/dlm/config.c: In function 'store_node':
      fs/dlm/config.c:726: warning: initialization from incompatible pointer type
      fs/dlm/config.c:726: warning: initialization from incompatible pointer type
      
      Cc: Christine Caulfield <ccaulfie@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      27eccf46
  2. 04 Sep, 2008 1 commit
  3. 02 Sep, 2008 1 commit
  4. 28 Aug, 2008 3 commits
    • David Teigland's avatar
      dlm: fix locking of lockspace list in dlm_scand · c1dcf65f
      David Teigland authored
      The dlm_scand thread needs to lock the list of lockspaces
      when going through it.
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      c1dcf65f
    • David Teigland's avatar
      dlm: detect available userspace daemon · dc68c7ed
      David Teigland authored
      If dlm_controld (the userspace daemon that controls the setup and
      recovery of the dlm) fails, the kernel should shut down the lockspaces
      in the kernel rather than leaving them running.  This is detected by
      having dlm_controld hold a misc device open while running, and if
      the kernel detects a close while the daemon is still needed, it stops
      the lockspaces in the kernel.
      
      Knowing that the userspace daemon isn't running also allows the
      lockspace create/remove routines to avoid waiting on the daemon
      for join/leave operations.
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      dc68c7ed
    • David Teigland's avatar
      dlm: allow multiple lockspace creates · 0f8e0d9a
      David Teigland authored
      Add a count for lockspace create and release so that create can
      be called multiple times to use the lockspace from different places.
      Also add the new flag DLM_LSFL_NEWEXCL to create a lockspace with
      the previous behavior of returning -EEXIST if the lockspace already
      exists.
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      0f8e0d9a
  5. 27 Aug, 2008 25 commits
  6. 26 Aug, 2008 9 commits