1. 26 8月, 2006 1 次提交
  2. 25 8月, 2006 4 次提交
    • D
      [DLM] add new lockspace to list ealier · 5f88f1ea
      David Teigland 提交于
      When a new lockspace was being created, the recoverd thread was being
      started for it before the lockspace was added to the global list of
      lockspaces.  The new thread was looking up the lockspace in the global
      list and sometimes not finding it due to the race with the original thread
      adding it to the list.  We need to add the lockspace to the global list
      before starting the thread instead of after, and if the new thread can't
      find the lockspace for some reason, it should return an error.
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      5f88f1ea
    • B
      [GFS2] Fix journal off-by-one error · 5dc39fe6
      Benjamin Marzinski 提交于
      log_refund() incorrectly assumed that if a transaction had been touched, it
      always committed buffers to the incore log. Thus, when you got around to
      flushing the log, you would need one more block than you committed, to account
      for the header. So it automatically set reserved to 1, which had the effect of
      making sdp->sd_log_blks_reserved one greater when you got to gfs2_log_flush().
      However, if you don't actually commit anything to the incore log between
      flushes, you don't need the header, because you aren't writing anything out.
      With this patch, log_refund() only increments reservered to account for the
      header if something has been committed since the last flush.
      Signed-off-by: NBenjamin E. Marzinski <bmarzins@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      5dc39fe6
    • S
      [GFS2] Speed up scanning of glocks · a2242db0
      Steven Whitehouse 提交于
      I noticed the gfs2_scand seemed to be taking a lot of CPU,
      so in order to cut that down a bit, here is a patch. Firstly
      the type of a glock is a constant during its lifetime, so that
      its possible to check this without needing locking. I've moved
      the (common) case of testing for an inode glock outside of
      the glmutex lock.
      
      Also there was a mutex left over from when the glock cache was
      master of the inode cache. That isn't required any more so I've
      removed that too.
      
      There is probably scope for further speed ups in the future
      in this area.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      a2242db0
    • S
      [GFS2] Tidy up error handling in gfs2_releasepage() · 166afccd
      Steven Whitehouse 提交于
      This should clarify the logic in gfs2_releasepage() relating to
      error handling as well as making the response to errors a bit
      more graceful.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      166afccd
  3. 24 8月, 2006 3 次提交
  4. 23 8月, 2006 3 次提交
  5. 22 8月, 2006 1 次提交
  6. 21 8月, 2006 1 次提交
  7. 19 8月, 2006 1 次提交
    • S
      [GFS2] Fix leak of gfs2_bufdata · 15d00c0b
      Steven Whitehouse 提交于
      This fixes a memory leak of struct gfs2_bufdata and also some
      problems in the ordered write handling code. It needs a bit
      more testing, but I believe that the reference counting of
      ordered write buffers should now be correct.
      
      This is aimed at fixing Red Hat bugzilla: #201028 and #201082
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      15d00c0b
  8. 11 8月, 2006 2 次提交
  9. 10 8月, 2006 1 次提交
  10. 09 8月, 2006 5 次提交
  11. 08 8月, 2006 1 次提交
  12. 07 8月, 2006 7 次提交
    • S
      [GFS2] Fix gfs_ prefix in locking.c · 2b557f6d
      Steven Whitehouse 提交于
      The previous patch didn't change all the gfs_ to gfs2_ so
      this is the remainder.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      2b557f6d
    • S
      Merge branch 'master' · ad73c67e
      Steven Whitehouse 提交于
      ad73c67e
    • D
      [GFS2] match plock result with correct request · 08eac93a
      David Teigland 提交于
      When the result of a posix lock request is read it needs to be matched up
      with the correct waiting request.  The owner field needs to be used in the
      comparison since more than one process may be waiting for locks on the
      same file.
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      08eac93a
    • D
      [GFS2] lockproto api prefix · 3120ec54
      David Teigland 提交于
      Use the gfs2_ prefix on the register/unregister functions for the lock
      modules.  The gfs_ prefix was left from an old idea on how to share these
      with gfs1.
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      3120ec54
    • L
      Linux v2.6.18-rc4 · 9f737633
      Linus Torvalds 提交于
      9f737633
    • L
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input · 6e1e6325
      Linus Torvalds 提交于
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input: (24 commits)
        Input: ati_remote - use msec instead of jiffies
        Input: ati_remote - add missing input_sync()
        Input: ati_remote - relax permissions sysfs module parameters
        Input: ati_remote - make filter time a module parameter
        Input: atkbd - restore repeat rate when resuming
        Input: trackpoint - activate protocol when resuming
        Input: logips2pp - fix button mapping for MX300
        Input: keyboard - change to use kzalloc
        Input: serio/gameport - check whether driver core calls succeeded
        Input: spaceball - make 4000FLX Lefty work
        Input: keyboard - simplify emulate_raw() implementation
        Input: keyboard - remove static variable and clean up initialization
        Input: hiddev - use standard list implementation
        Input: add missing handler->start() call
        Input: HID - fix potential out-of-bound array access
        Input: fix list iteration in input_release_device()
        Input: iforce - add Trust Force Feedback Race Master support
        Input: iforce - check array bounds before accessing elements
        Input: libps2 - warn instead of oopsing when passed bad arguments
        Input: fm801-gp - fix use after free
        ...
      6e1e6325
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa · a05ef8bf
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa:
        [ALSA] Don't reject O_RDWR at opening PCM OSS with read/write-only device
        [ALSA] snd-emu10k1: Implement support for Audigy 2 ZS [SB0353]
        [ALSA] add MAINTAINERS entry for snd-aoa
        [ALSA] aoa: platform function gpio: ignore errors from functions that don't exist
        [ALSA] make snd-powermac load even when it can't bind the device
        [ALSA] aoa: fix toonie codec
        [ALSA] aoa: feature gpio layer: fix IRQ access
        [ALSA] Conversions from kmalloc+memset to k(z|c)alloc
        [ALSA] snd-emu10k1: Fixes ALSA bug#2190
      a05ef8bf
  13. 06 8月, 2006 10 次提交