From: Chris Mason Date: Mon, 14 Apr 2008 13:46:10 +0000 (-0400) Subject: Add a min size parameter to btrfs_alloc_extent X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d20f67cf99ccda638dbcdf7b3a9ee0a428d932;p=pandora-kernel.git 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 --- Reading git-diff-tree failed