1. 21 9月, 2011 12 次提交
  2. 17 9月, 2011 4 次提交
  3. 05 9月, 2011 1 次提交
  4. 02 9月, 2011 3 次提交
  5. 01 9月, 2011 4 次提交
    • C
      xfs: fix ->write_inode return values · 58d84c4e
      Christoph Hellwig 提交于
      Currently we always redirty an inode that was attempted to be written out
      synchronously but has been cleaned by an AIL pushed internall, which is
      rather bogus.  Fix that by doing the i_update_core check early on and
      return 0 for it.  Also include async calls for it, as doing any work for
      those is just as pointless.  While we're at it also fix the sign for the
      EIO return in case of a filesystem shutdown, and fix the completely
      non-sensical locking around xfs_log_inode.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NDave Chinner <dchinner@redhat.com>
      Signed-off-by: NAlex Elder <aelder@sgi.com>
      (cherry picked from commit 297db93bb74cf687510313eb235a7aec14d67e97)
      Signed-off-by: NAlex Elder <aelder@sgi.com>
      58d84c4e
    • C
      xfs: fix xfs_mark_inode_dirty during umount · 866e4ed7
      Christoph Hellwig 提交于
      During umount we do not add a dirty inode to the lru and wait for it to
      become clean first, but force writeback of data and metadata with
      I_WILL_FREE set.  Currently there is no way for XFS to detect that the
      inode has been redirtied for metadata operations, as we skip the
      mark_inode_dirty call during teardown.  Fix this by setting i_update_core
      nanually in that case, so that the inode gets flushed during inode reclaim.
      
      Alternatively we could enable calling mark_inode_dirty for inodes in
      I_WILL_FREE state, and let the VFS dirty tracking handle this.  I decided
      against this as we will get better I/O patterns from reclaim compared to
      the synchronous writeout in write_inode_now, and always marking the inode
      dirty in some way from xfs_mark_inode_dirty is a better safetly net in
      either case.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NDave Chinner <dchinner@redhat.com>
      Signed-off-by: NAlex Elder <aelder@sgi.com>
      (cherry picked from commit da6742a5a4cc844a9982fdd936ddb537c0747856)
      Signed-off-by: NAlex Elder <aelder@sgi.com>
      866e4ed7
    • L
      Merge tag 'for_linus-20110831' of git://github.com/tytso/ext4 · b79c4f75
      Linus Torvalds 提交于
      * tag 'for_linus-20110831' of git://github.com/tytso/ext4:
        ext4: remove i_mutex lock in ext4_evict_inode to fix lockdep complaining
      b79c4f75
    • L
      Merge branch 'for-linus' of git://neil.brown.name/md · fd53f7d8
      Linus Torvalds 提交于
      * 'for-linus' of git://neil.brown.name/md:
        md/raid5: fix a hang on device failure.
        md: fix clearing of 'blocked' flag in the presence of bad blocks.
        md/linear: avoid corrupting structure while waiting for rcu_free to complete.
        md: use REQ_NOIDLE flag in md_super_write()
        md: ensure changes to 'write-mostly' are reflected in metadata.
        md: report failure if a 'set faulty' request doesn't.
      fd53f7d8
  6. 31 8月, 2011 10 次提交
  7. 30 8月, 2011 6 次提交
    • A
      drm/radeon/kms: add s/r quirk for Compaq Presario V5245EU · 302a8e8b
      Alex Deucher 提交于
      Fixes resume on Compaq Presario V5245EU.
      
      Fixes:
      https://bugzilla.kernel.org/show_bug.cgi?id=41642Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      302a8e8b
    • J
      drm/radeon/kms: evergreen & ni reset SPI block on CP resume · a49a50da
      Jerome Glisse 提交于
      For some reason SPI block is in broken state after module
      unloading. This lead to broken rendering after reloading
      module. Fix this by reseting SPI block in CP resume function
      
      Signed-off-by: Jerome Glisse <jglisse@redhat.com
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      a49a50da
    • N
      md: fix clearing of 'blocked' flag in the presence of bad blocks. · 7da64a0a
      NeilBrown 提交于
      When the 'blocked' flag on a device is cleared while there are
      unacknowledged bad blocks we must fail the device.  This is needed for
      backwards compatability of the interface.
      
      The code currently uses the wrong test for "unacknowledged bad blocks
      exist".  Change it to the right test.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      7da64a0a
    • D
      1a8e0da5
    • L
      Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm · 90e93648
      Linus Torvalds 提交于
      * 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: pm: avoid writing the auxillary control register for ARMv7
        ARM: pm: some ARMv7 requires a dsb in resume to ensure correctness
        ARM: pm: arm920/926: fix number of registers saved
        ARM: pm: CPU specific code should not overwrite r1 (v:p offset)
        ARM: 7066/1: proc-v7: disable SCTLR.TE when disabling MMU
        ARM: 7065/1: kexec: ensure new kernel is entered in ARM state
        ARM: 7003/1: vexpress: Add clock definition for the SP805.
        ARM: 7051/1: cpuimx* boards: fix mach-types errors
        ARM: 7019/1: Footbridge: select CLKEVT_I8253 for ARCH_NETWINDER
        ARM: 7015/1: ARM errata: Possible cache data corruption with hit-under-miss enabled
        ARM: 7014/1: cache-l2x0: Fix L2 Cache size calculation.
        ARM: 6967/1: ep93xx: ts72xx: fix board model detection
        ARM: 6965/1: ep93xx: add model detection for ts-7300 and ts-7400 boards
        ARM: cache: detect VIPT aliasing I-cache on ARMv6
        ARM: twd: register clockevents device before enabling PPI
        ARM: realview: ensure visibility of writes during reset
        ARM: perf: make name of arm_pmu_type consistent
        ARM: perf: fix prototype of release_pmu
        ARM: fix perf build with uclibc toolchains
      90e93648
    • L
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc · 3ae627b5
      Linus Torvalds 提交于
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
        ARM: mach-footbridge: add missing header file <video/vga.h>
        ARM: mach-orion5x: add missing header file <linux/vga.h>
        arm: fix compile failure in orion5x/dns323-setup.c
        at91: at91sam9261.c: fix typo in t2_clk alias for atmel_tcb.0
        ARM: S5P: fix bug in spdif_clk_get_rate
        ARM: EXYNOS4: Add restart hook for proper reboot
        ARM: EXYNOS4: Increase reset delay for USB HOST PHY
        ARM: S5P: add required chained_irq_enter/exit to gpio-int code
        ARM: EXYNOS4: add required chained_irq_enter/exit to eint code
        ARM: SAMSUNG: Add chained enrty/exit call to timer interrupt handler
        ARM: S3C64XX: Fix build break in PM debug
        ARM: S5PV210: Fix build warning
        ARM: EXYNOS4: Fix the IRQ definitions for MIPI CSIS device
        ARM: EXYNOS4: remove duplicated inclusion
        ARM: EXYNOS4: Fix wrong devname to support clkdev
        ARM: EXYNOS4: Use the correct regulator names on universal_c210
        ARM: SAMSUNG: Fix Section mismatch in samsung_bl_set()
        ARM: S5P64X0: Replace irq_gc_ack() with irq_gc_ack_set_bit()
      3ae627b5