1. 05 May, 2010 1 commit
    • Benjamin Marzinski's avatar
      GFS2: Various gfs2_logd improvements · 5e687eac
      Benjamin Marzinski authored
      This patch contains various tweaks to how log flushes and active item writeback
      work. gfs2_logd is now managed by a waitqueue, and gfs2_log_reseve now waits
      for gfs2_logd to do the log flushing.  Multiple functions were rewritten to
      remove the need to call gfs2_log_lock(). Instead of using one test to see if
      gfs2_logd had work to do, there are now seperate tests to check if there
      are two many buffers in the incore log or if there are two many items on the
      active items list.
      
      This patch is a port of a patch Steve Whitehouse wrote about a year ago, with
      some minor changes.  Since gfs2_ail1_start always submits all the active items,
      it no longer needs to keep track of the first ai submitted, so this has been
      removed. In gfs2_log_reserve(), the order of the calls to
      prepare_to_wait_exclusive() and wake_up() when firing off the logd thread has
      been switched.  If it called wake_up first there was a small window for a race,
      where logd could run and return before gfs2_log_reserve was ready to get woken
      up. If gfs2_logd ran, but did not free up enough blocks, gfs2_log_reserve()
      would be left waiting for gfs2_logd to eventualy run because it timed out.
      Finally, gt_logd_secs, which controls how long to wait before gfs2_logd times
      out, and flushes the log, can now be set on mount with ar_commit.
      Signed-off-by: default avatarBenjamin Marzinski <bmarzins@redhat.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      5e687eac
  2. 14 Apr, 2010 1 commit
    • Bob Peterson's avatar
      GFS2: glock livelock · 1a0eae88
      Bob Peterson authored
      This patch fixes a couple gfs2 problems with the reclaiming of
      unlinked dinodes.  First, there were a couple of livelocks where
      everything would come to a halt waiting for a glock that was
      seemingly held by a process that no longer existed.  In fact, the
      process did exist, it just had the wrong pid number in the holder
      information.  Second, there was a lock ordering problem between
      inode locking and glock locking.  Third, glock/inode contention
      could sometimes cause inodes to be improperly marked invalid by
      iget_failed.
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      1a0eae88
  3. 29 Mar, 2010 3 commits
  4. 26 Mar, 2010 13 commits
  5. 25 Mar, 2010 20 commits
  6. 24 Mar, 2010 2 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux · 01e77706
      Linus Torvalds authored
      * 'for-linus' of git://gitorious.org/linux-omap-dss2/linux:
        OMAP: DSS2: panel-generic: re-implement mode changing
        OMAP: DSS2: initialize dss clk sources properly
        OMAP: DSS2: VRAM: Fix early_param for vram
      01e77706
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 1ff31056
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON
        [ARM] Kirkwood: WPS button keycode mapping
        pxa168fb: fix incorrect resource calculation
        [ARM] pxa/raumfeld: fix button name
        [ARM] pxa/raumfeld: remove duplicated #include
        [ARM] locomo: fix unpaired spin_lock_irqsave
        [ARM] locomo: fix SPI register offset
        [ARM] pxa/sharpsl: add dependency of max1111 driver to sharpsl_pm
        [ARM] pxa: remove unnecessary 'select FB_W100' from some platforms
        [ARM] pxa: remove spi cs gpio direction to avoid clash with driver
        [ARM] mmp: fix for variables in uncompress.h being discarded
        [ARM] pxa: fix for variables in uncompress.h being discarded
        ARM: Update mach-types
        ARM: Fix IXP23xx build error in mach/memory.h
      1ff31056