diff options
author | Arne Jansen <sensille@gmx.net> | 2011-04-12 13:01:20 +0400 |
---|---|---|
committer | Arne Jansen <sensille@gmx.net> | 2011-05-13 17:36:12 +0400 |
commit | a9c9bf68276c36898e23db770a65bd9b75bfac58 (patch) | |
tree | ba18ea840825d8c2bc6199fda17bb44f52fb85c4 /fs/btrfs/file-item.c | |
parent | bcd53741cc2af4342ac3ff6983bddc4a1b63b9b4 (diff) | |
download | linux-a9c9bf68276c36898e23db770a65bd9b75bfac58.tar.xz |
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.
Diffstat (limited to 'fs/btrfs/file-item.c')
0 files changed, 0 insertions, 0 deletions