From: Arne Jansen Date: Tue, 12 Apr 2011 09:01:20 +0000 (+0200) Subject: btrfs: heed alloc_start X-Git-Tag: v3.0-rc1~38^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c9bf68276c36898e23db770a65bd9b75bfac58;p=pandora-kernel.git btrfs: heed alloc_start currently alloc_start is disregarded if the requested chunk size is bigger than (device size - alloc_start), but smaller than the device size. The only situation where I see this could have made sense was when a chunk equal the size of the device has been requested. This was possible as the allocator failed to take alloc_start into account when calculating the request chunk size. As this gets fixed by this patch, the workaround is not necessary anymore. --- Reading git-diff-tree failed