summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-01-06 15:23:57 -0500
committerChris Mason <chris.mason@oracle.com>2012-01-06 15:23:57 -0500
commit203bf287cb01a5dc26c20bd3737cecf3aeba1d48 (patch)
treef9ce9d7c82360bd6059b5ef16166cf79d16b1380 /scripts
parentc1111b1fcee6359922ad8e5f6d72ed43815ad8f9 (diff)
Btrfs: run chunk allocations while we do delayed refs
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions