]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: increase the size of the free space cache
authorJosef Bacik <jbacik@fusionio.com>
Mon, 6 Aug 2012 19:46:38 +0000 (13:46 -0600)
committerChris Mason <chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:34 +0000 (16:53 -0400)
commitea327708eb8638c3965e692e30ebac38c8efd452
tree69648399050cf3f23a487efa382907c5b89dec3f
parent0f24442c000e64e3fcca4177eabe28dd71c5e313
Btrfs: increase the size of the free space cache

Arne was complaining about the space cache having mismatching generation
numbers when debugging a deadlock.  This is because we can run out of space
in our preallocated range for our space cache if you have a pretty
fragmented amount of space in your pinned space.  So just increase the
amount of space we preallocate for space cache so we can be sure to have
enough space.  This will only really affect data ranges since their the only
chunks that end up larger than 256MB.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c