• Arne Jansen's avatar
    btrfs: heed alloc_start · a9c9bf68
    Arne Jansen authored
    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.
    a9c9bf68
volumes.c 96.1 KB