Fork of hrdl's(https://git.sr.ht/~hrdl/linux) 'hrdl-pinenote-6.15rc3 branch, rebased to 6.15. hrdl's branch is itself a fork of m-weigand's (https://github.com/m-weigand/linux) v6.12 branch.
Find a file
Chris Mason 98d20f67cf 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>
2008-09-25 11:04:01 -04:00
fs/btrfs Add a min size parameter to btrfs_alloc_extent 2008-09-25 11:04:01 -04:00