1. 06 Jan, 2012 2 commits
    • Chris Mason's avatar
      Btrfs: lower the bar for chunk allocation · cf1d72c9
      Chris Mason authored
      The chunk allocation code has tried to keep a pretty tight lid on creating new
      metadata chunks.  This is partially because in the past the reservation
      code didn't give us an accurate idea of how much space was being used.
      
      The new code is much more accurate, so we're able to get rid of some of these
      checks.
      Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
      cf1d72c9
    • Chris Mason's avatar
      Btrfs: run chunk allocations while we do delayed refs · 203bf287
      Chris Mason authored
      Btrfs tries to batch extent allocation tree changes to improve performance
      and reduce metadata trashing.  But it doesn't allocate new metadata chunks
      while it is doing allocations for the extent allocation tree.
      
      This commit changes the delayed refence code to do chunk allocations if we're
      getting low on room.  It prevents crashes and improves performance.
      Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
      203bf287
  2. 23 Dec, 2011 3 commits
  3. 22 Dec, 2011 8 commits
  4. 21 Dec, 2011 10 commits
  5. 20 Dec, 2011 17 commits