1. 27 Jun, 2008 1 commit
    • Steven Whitehouse's avatar
      [GFS2] Fix ordering bug in lock_dlm · f3c9d38a
      Steven Whitehouse authored
      This looks like a lot of change, but in fact its not. Mostly its
      things moving from one file to another. The change is just that
      instead of queuing lock completions and callbacks from the DLM
      we now pass them directly to GFS2.
      This gives us a net loss of two list heads per glock (a fair
      saving in memory) plus a reduction in the latency of delivering
      the messages to GFS2, plus we now have one thread fewer as well.
      There was a bug where callbacks and completions could be delivered
      in the wrong order due to this unnecessary queuing which is fixed
      by this patch.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      Cc: Bob Peterson <rpeterso@redhat.com>
  2. 21 Apr, 2008 1 commit
  3. 25 Jan, 2008 2 commits
    • David Teigland's avatar
      [GFS2] tidy up error message · 00c13475
      David Teigland authored
      Print error with log_error() to be consistent with others.
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      Signed-off-by: default avatarFabio M. Di Nitto <fabbione@ubuntu.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    • Fabio Massimo Di Nitto's avatar
      [GFS2] Check for installation of mount helpers for DLM mounts · 0b7580c7
      Fabio Massimo Di Nitto authored
      The patch is a fix to abort mount if the mount.gfs* and possible
      umount.* are missing from /sbin.
      While we do what we can to guarantee that they are installed properly in
      userland (CVS HEAD), we want to make sure that mount still aborts properly.
      The only sign of missing helpers is that lock_dlm will receive no mount options
      at all. According to David the problem does not exist for lock_nolock as the
      helpers are not required.
      The patch has been tested for both gfs and gfs2 and it works as expected. The
      lack of mount.gfs* will generate an error that is propagated to mount:
      oot@node1:~# mount -t  gfs2 /dev/nbd2 /mnt/
      mount: wrong fs type, bad option, bad superblock on /dev/nbd2,
             missing codepage or helper program, or other error
             In some cases useful info is found in syslog - try
             dmesg | tail  or so
      [ 3513.303346] GFS2: fsid=: Trying to join cluster "lock_dlm", "gutsy:gfs2"
      [ 3513.304546] DLM/GFS2/GFS ERROR: (u)mount helpers are not installed properly!
      [ 3513.306290] GFS2: fsid=: can't mount proto=lock_dlm, table=gutsy:gfs2, hostdata=
      You might want to notice that it will also avoid mount to hang or fail silently
      or with strange errors that will require the cluster to reboot/restart before
      you can actually mount the filesystem again.
      Signed-off-by: default avatarFabio M. Di Nitto <fabbione@ubuntu.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
  4. 09 Jul, 2007 1 commit
  5. 05 Feb, 2007 1 commit
  6. 11 Oct, 2006 1 commit
  7. 08 Sep, 2006 1 commit
  8. 07 Sep, 2006 2 commits
  9. 04 Sep, 2006 1 commit
  10. 01 Sep, 2006 1 commit
    • Steven Whitehouse's avatar
      [GFS2] Update copyright, tidy up incore.h · e9fc2aa0
      Steven Whitehouse authored
      As per comments from Jan Engelhardt <jengelh@linux01.gwdg.de> this
      updates the copyright message to say "version" in full rather than
      "v.2". Also incore.h has been updated to remove forward structure
      declarations which are not required.
      The gfs2_quota_lvb structure has now had endianess annotations added
      to it. Also quota.c has been updated so that we now store the
      lvb data locally in endian independant format to avoid needing
      a structure in host endianess too. As a result the endianess
      conversions are done as required at various points and thus the
      conversion routines in lvb.[ch] are no longer required. I've
      moved the one remaining constant in lvb.h thats used into lm.h
      and removed the unused lvb.[ch].
      I have not changed the HIF_ constants. That is left to a later patch
      which I hope will unify the gh_flags and gh_iflags fields of the
      struct gfs2_holder.
      Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
  11. 19 May, 2006 1 commit
  12. 26 Apr, 2006 1 commit
  13. 28 Mar, 2006 1 commit
  14. 18 Jan, 2006 1 commit
  15. 17 Jan, 2006 1 commit
  16. 16 Jan, 2006 1 commit