1. 19 6月, 2009 1 次提交
  2. 19 5月, 2009 1 次提交
    • S
      GFS2: Umount recovery race fix · fe64d517
      Steven Whitehouse 提交于
      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
      output.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      fe64d517
  3. 24 3月, 2009 1 次提交
    • S
      GFS2: Merge lock_dlm module into GFS2 · f057f6cd
      Steven Whitehouse 提交于
      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: NSteven Whitehouse <swhiteho@redhat.com>
      f057f6cd
  4. 07 1月, 2009 1 次提交
  5. 27 6月, 2008 1 次提交
    • S
      [GFS2] No lock_nolock · 048bca22
      Steven Whitehouse 提交于
      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
      anyway).
      
      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: NSteven Whitehouse <swhiteho@redhat.com>
      Cc: David Teigland <teigland@redhat.com>
      048bca22
  6. 31 3月, 2008 2 次提交
    • S
      [GFS2] Need to ensure that sector_t is 64bits for GFS2 · 10528497
      Steven Whitehouse 提交于
      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: NSteven Whitehouse <swhiteho@redhat.com>
      10528497
    • S
      [GFS2] Eliminate (almost) duplicate field from gfs2_inode · 77658aad
      Steven Whitehouse 提交于
      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: NSteven Whitehouse <swhiteho@redhat.com>
      77658aad
  7. 06 2月, 2007 3 次提交
  8. 16 12月, 2006 1 次提交
    • S
      [GFS2] Fix Kconfig · 1003f069
      Steven Whitehouse 提交于
      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: NSteven 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>
      1003f069
  9. 30 11月, 2006 1 次提交
  10. 23 6月, 2006 1 次提交
  11. 25 4月, 2006 1 次提交
    • S
      [GFS2] Tidy up Makefile & Kconfig · b5ea3e1e
      Steven Whitehouse 提交于
      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: NSteven Whitehouse <swhiteho@redhat.com>
      b5ea3e1e
  12. 17 1月, 2006 1 次提交