1. 19 Sep, 2016 16 commits
  2. 30 Aug, 2016 1 commit
    • Darrick J. Wong's avatar
      xfs: track log done items directly in the deferred pending work item · ea78d808
      Darrick J. Wong authored
      Christoph reports slab corruption when a deferred refcount update
      aborts during _defer_finish().  The cause of this was broken log item
      state tracking in xfs_defer_pending -- upon an abort,
      _defer_trans_abort() will call abort_intent on all intent items,
      including the ones that have already had a done item attached.
      
      This is incorrect because each intent item has 2 refcount: the first
      is released when the intent item is committed to the log; and the
      second is released when the _done_ item is committed to the log, or
      by the intent creator if there is no done item.  In other words, once
      we log the done item, responsibility for releasing the intent item's
      second refcount is transferred to the done item and /must not/ be
      performed by anything else.
      
      The dfp_committed flag should have been tracking whether or not we had
      a done item so that _defer_trans_abort could decide if it needs to
      abort the intent item, but due to a thinko this was not the case.  Rip
      it out and track the done item directly so that we do the right thing
      w.r.t. intent item freeing.
      Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
      Reported-by: default avatarChristoph Hellwig <hch@infradead.org>
      Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
      Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
      ea78d808
  3. 29 Aug, 2016 1 commit
  4. 26 Aug, 2016 7 commits
  5. 17 Aug, 2016 2 commits
  6. 16 Aug, 2016 11 commits
  7. 15 Aug, 2016 2 commits
    • Linus Torvalds's avatar
      Linux 4.8-rc2 · 694d0d0b
      Linus Torvalds authored
      694d0d0b
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux · 0043ee40
      Linus Torvalds authored
      Pull thermal updates from Zhang Rui:
      
       - Fix a race condition when updating cooling device, which may lead to
         a situation where a thermal governor never updates the cooling
         device.  From Michele Di Giorgio.
      
       - Fix a zero division error when disabling the forced idle injection
         from the intel powerclamp.  From Petr Mladek.
      
       - Add suspend/resume callback for intel_pch_thermal thermal driver.
         From Srinivas Pandruvada.
      
       - Another two fixes for clocking cooling driver and hwmon sysfs I/F.
         From Michele Di Giorgio and Kuninori Morimoto.
      
      [ Hmm.  That suspend/resume callback for intel_pch_thermal doesn't look
        like a fix, but I'm letting it slide..  - Linus ]
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
        thermal: clock_cooling: Fix missing mutex_init()
        thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs
        thermal: fix race condition when updating cooling device
        thermal/powerclamp: Prevent division by zero when counting interval
        thermal: intel_pch_thermal: Add suspend/resume callback
      0043ee40