commit | 98d20f67cf99ccda638dbcdf7b3a9ee0a428d932 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Apr 14 09:46:10 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:01 2008 -0400 |
tree | 2cd417558d34777ee8aabc950ccc0993d542d1b0 | |
parent | 73f61b2a6459df982cb4faf0e5cf5ac8b153aaff [diff] |
Add a min size parameter to btrfs_alloc_extent On huge machines, delayed allocation may try to allocate massive extents. This change allows btrfs_alloc_extent to return something smaller than the caller asked for, and the data allocation routines will loop over the allocations until it fills the whole delayed alloc. Signed-off-by: Chris Mason <chris.mason@oracle.com>