Home
last modified time | relevance | path

Searched hist:"203 bf287cb01a5dc26c20bd3737cecf3aeba1d48" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dtransaction.cdiff 203bf287cb01a5dc26c20bd3737cecf3aeba1d48 Fri Jan 06 14:23:57 CST 2012 Chris Mason <chris.mason@oracle.com> 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>
H A Dextent-tree.cdiff 203bf287cb01a5dc26c20bd3737cecf3aeba1d48 Fri Jan 06 14:23:57 CST 2012 Chris Mason <chris.mason@oracle.com> 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>