diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-14 09:46:10 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 98d20f67cf99ccda638dbcdf7b3a9ee0a428d932 (patch) | |
tree | 2cd417558d34777ee8aabc950ccc0993d542d1b0 /fs/btrfs/btrfs_inode.h | |
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>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions