Skip to content

Commit

Permalink
Btrfs: reduce stack usage in some crucial tree balancing functions
Browse files Browse the repository at this point in the history
Many of the tree balancing functions follow the same pattern.

1) cow a block
2) do something to the result

This commit breaks them up into two functions so the variables and
code required for part two don't suck down stack during part one.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason committed Mar 24, 2009
1 parent 56bec29 commit 44871b1
Showing 1 changed file with 278 additions and 180 deletions.
Loading

0 comments on commit 44871b1

Please sign in to comment.