Revision 154ea2893002618bc3f9a1e2d8186c65490968b1 authored by Chris Mason on 05 March 2013, 16:11:26 UTC, committed by Chris Mason on 05 March 2013, 16:30:16 UTC
Commit 24542bf7ea5e4fdfdb5157ff544c093fa4dcb536 changed preallocation of
extents to cap the max size we try to allocate.  It's a valid change,
but the extent reservation code is also used by balance, and that
can't tolerate a smaller extent being allocated.

__btrfs_prealloc_file_range already has a min_size parameter, which is
used by relocation to request a specific extent size.  This commit
adds an extra check to enforce that minimum extent size.

Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Reported-by: Stefan Behrens <sbehrens@giantdisaster.de>
1 parent d7011f5
History
File Mode Size
00-INDEX -rw-r--r-- 781 bytes
README.cycladesZ -rw-r--r-- 293 bytes
digiepca.txt -rw-r--r-- 3.7 KB
driver -rw-r--r-- 11.7 KB
moxa-smartio -rw-r--r-- 20.1 KB
n_gsm.txt -rw-r--r-- 3.1 KB
riscom8.txt -rw-r--r-- 1.3 KB
rocket.txt -rw-r--r-- 7.6 KB
serial-rs485.txt -rw-r--r-- 4.0 KB
specialix.txt -rw-r--r-- 14.7 KB
stallion.txt -rw-r--r-- 17.5 KB
sx.txt -rw-r--r-- 11.3 KB
tty.txt -rw-r--r-- 10.7 KB

README.cycladesZ

back to top