1. 24 10月, 2015 1 次提交
  2. 12 8月, 2015 2 次提交
  3. 06 7月, 2015 1 次提交
  4. 11 11月, 2014 1 次提交
    • J
      dm btree: fix a recursion depth bug in btree walking code · 9b460d36
      Joe Thornber 提交于
      The walk code was using a 'ro_spine' to hold it's locked btree nodes.
      But this data structure is designed for the rolling lock scheme, and
      as such automatically unlocks blocks that are two steps up the call
      chain.  This is not suitable for the simple recursive walk algorithm,
      which retraces its steps.
      
      This code is only used by the persistent array code, which in turn is
      only used by dm-cache.  In order to trigger it you need to have a
      mapping tree that is more than 2 levels deep; which equates to 8-16
      million cache blocks.  For instance a 4T ssd with a very small block
      size of 32k only just triggers this bug.
      
      The fix just places the locked blocks on the stack, and stops using
      the ro_spine altogether.
      Signed-off-by: NJoe Thornber <ejt@redhat.com>
      Signed-off-by: NMike Snitzer <snitzer@redhat.com>
      Cc: stable@vger.kernel.org
      9b460d36
  5. 10 1月, 2014 1 次提交
  6. 23 8月, 2013 2 次提交
  7. 02 3月, 2013 1 次提交
  8. 22 12月, 2012 2 次提交
  9. 29 3月, 2012 1 次提交
  10. 08 11月, 2011 1 次提交
  11. 01 11月, 2011 1 次提交