diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-11-10 07:26:33 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-10 07:26:33 -0500 |
commit | 5b7c3fcc46b5deb8a368d5319cf87c78c2df65fe (patch) | |
tree | 7338c64a5431e65a5fa27b0df0c7f6e2baf0b884 /fs/btrfs/extent_io.c | |
parent | 5f2cc086ccab27ac5252b3883ac004347860b4c7 (diff) | |
download | op-kernel-dev-5b7c3fcc46b5deb8a368d5319cf87c78c2df65fe.zip op-kernel-dev-5b7c3fcc46b5deb8a368d5319cf87c78c2df65fe.tar.gz |
Btrfs: Don't substract too much from the allocation target (avoid wrapping)
When metadata allocation clustering has to fall back to unclustered
allocs because large free areas could not be found, it was sometimes
substracting too much from the total bytes to allocate. This would
make it wrap below zero.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions