1. 07 Dec, 2016 1 commit
    • Oleg Drokin's avatar
      staging/lustre/osc: Revert erroneous list_for_each_entry_safe use · cd15dd6e
      Oleg Drokin authored
      I have been having a lot of unexplainable crashes in osc_lru_shrink
      lately that I could not see a good explanation for and then I found
      this patch that slip under the radar somehow that incorrectly
      converted while loop for lru list iteration into
      list_for_each_entry_safe totally ignoring that in the body of
      the loop we drop spinlocks guarding this list and move list entries
      around.
      Not sure why it was not showing up right away, perhaps some of the
      more recent LRU changes committed caused some extra pressure on this
      code that finally highlighted the breakage.
      
      Reverts: 8adddc36 ("staging: lustre: osc: Use list_for_each_entry_safe")
      CC: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
      Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
      Cc: stable <stable@vger.kernel.org> # 4.6+
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cd15dd6e
  2. 06 Dec, 2016 39 commits