1. 09 Mar, 2010 1 commit
  2. 17 Dec, 2009 1 commit
  3. 15 Dec, 2009 1 commit
  4. 03 Dec, 2009 1 commit
  5. 19 Jun, 2009 1 commit
  6. 19 May, 2009 1 commit
    • Steven Whitehouse's avatar
      GFS2: Umount recovery race fix · fe64d517
      Steven Whitehouse authored
      This patch fixes a race condition where we can receive recovery
      requests part way through processing a umount. This was causing
      problems since the recovery thread had already gone away.
      Looking in more detail at the recovery code, it was really trying
      to implement a slight variation on a work queue, and that happens to
      align nicely with the recently introduced slow-work subsystem. As a
      result I've updated the code to use slow-work, rather than its own home
      grown variety of work queue.
      When using the wait_on_bit() function, I noticed that the wait function
      that was supplied as an argument was appearing in the WCHAN field, so
      I've updated the function names in order to produce more meaningful
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
  7. 24 Mar, 2009 1 commit
    • Steven Whitehouse's avatar
      GFS2: Merge lock_dlm module into GFS2 · f057f6cd
      Steven Whitehouse authored
      This is the big patch that I've been working on for some time
      now. There are many reasons for wanting to make this change
      such as:
       o Reducing overhead by eliminating duplicated fields between structures
       o Simplifcation of the code (reduces the code size by a fair bit)
       o The locking interface is now the DLM interface itself as proposed
         some time ago.
       o Fewer lookups of glocks when processing replies from the DLM
       o Fewer memory allocations/deallocations for each glock
       o Scope to do further optimisations in the future (but this patch is
         more than big enough for now!)
      Please note that (a) this patch relates to the lock_dlm module and
      not the DLM itself, that is still a separate module; and (b) that
      we retain the ability to build GFS2 as a standalone single node
      filesystem with out requiring the DLM.
      This patch needs a lot of testing, hence my keeping it I restarted
      my -git tree after the last merge window. That way, this has the maximum
      exposure before its merged. This is (modulo a few minor bug fixes) the
      same patch that I've been posting on and off the the last three months
      and its passed a number of different tests so far.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
  8. 07 Jan, 2009 1 commit
  9. 27 Jun, 2008 1 commit
    • Steven Whitehouse's avatar
      [GFS2] No lock_nolock · 048bca22
      Steven Whitehouse authored
      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
      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: default avatarSteven Whitehouse <swhiteho@redhat.com>
      Cc: David Teigland <teigland@redhat.com>
  10. 31 Mar, 2008 2 commits
    • Steven Whitehouse's avatar
      [GFS2] Need to ensure that sector_t is 64bits for GFS2 · 10528497
      Steven Whitehouse authored
      We need to ensure that sector_t is 64bits for GFS2, so that we need to
      depend on LBD as well as LSF.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    • Steven Whitehouse's avatar
      [GFS2] Eliminate (almost) duplicate field from gfs2_inode · 77658aad
      Steven Whitehouse authored
      The blocks counter is almost a duplicate of the i_blocks
      field in the VFS inode. The only difference is that i_blocks
      can be only 32bits long for 32bit arch without large single file
      support. Since GFS2 doesn't handle the non-large single file
      case (for 32 bit anyway) this adds a new config dependency on
      64BIT || LSF. This has always been the case, however we've never
      explicitly said so before.
      Even if we do add support for the non-LSF case, we will still
      not require this field to be duplicated since we will not be
      able to access oversized files anyway.
      So the net result of all this is that we shave 8 bytes from a gfs2_inode
      and get our config deps correct.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
  11. 05 Feb, 2007 3 commits
  12. 15 Dec, 2006 1 commit
    • Steven Whitehouse's avatar
      [GFS2] Fix Kconfig · 1003f069
      Steven Whitehouse authored
      Here is a patch to fix up the Kconfig so that we don't land up with
      problems when people disable the NET subsystem.  Thanks for all the hints and
      suggestions that people have sent me regarding this.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      Cc: Aleksandr Koltsoff <czr@iki.fi>
      Cc: Toralf Förster <toralf.foerster@gmx.de>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: Chris Zubrzycki <chris@middle--earth.org>
      Cc: Patrick Caulfield <pcaulfie@redhat.com>
  13. 30 Nov, 2006 1 commit
  14. 22 Jun, 2006 1 commit
  15. 24 Apr, 2006 1 commit
    • Steven Whitehouse's avatar
      [GFS2] Tidy up Makefile & Kconfig · b5ea3e1e
      Steven Whitehouse authored
      Remove select of SYSFS as requested by Greg KH. Change whitespace to
      tabs rather than spaces in places where it was incorrect and removed
      'default m' as suggested by Adrian Bunk.
      Reorganised Makefile as suggested by Sam Ravnborg.
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
  16. 16 Jan, 2006 1 commit