diff options
author | Josef Bacik <josef@redhat.com> | 2010-03-17 21:45:56 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-03-31 03:19:09 +0200 |
commit | 0cad8a1130f77c7c445e3298c0e3593b3c0ef439 (patch) | |
tree | 1f045f7baccc9dd2c1ac805b94cdedc4bbab618f /drivers/dma | |
parent | Btrfs: kill max_extent mount option (diff) | |
download | linux-0cad8a1130f77c7c445e3298c0e3593b3c0ef439.tar.xz linux-0cad8a1130f77c7c445e3298c0e3593b3c0ef439.zip |
Btrfs: fix chunk allocate size calculation
If the amount of free space left in a device is less than what we think should
be the minimum size, just ignore the minimum size and use the amount we have. I
ran into this running tests on a 600mb volume, the chunk allocator wouldn't let
me allocate the last 52mb of the disk for data because we want to have at least
64mb chunks for data. This patch fixes that problem. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions