]> 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)
commit3a4f5de87665b2aea2f614c9de22cf5d10be8dd4
tree69648399050cf3f23a487efa382907c5b89dec3f
parentdd1479e39664bff8f34d2f2a6e8dfd1d79139a50
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