btrfs: heed alloc_start
authorArne Jansen <sensille@gmx.net>
Tue, 12 Apr 2011 09:01:20 +0000 (11:01 +0200)
committerArne Jansen <sensille@gmx.net>
Fri, 13 May 2011 13:36:12 +0000 (15:36 +0200)
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.


No differences found