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
File | Mode | Size |
---|---|---|
00-INDEX | -rw-r--r-- | 674 bytes |
biodoc.txt | -rw-r--r-- | 53.7 KB |
capability.txt | -rw-r--r-- | 618 bytes |
cfq-iosched.txt | -rw-r--r-- | 8.6 KB |
data-integrity.txt | -rw-r--r-- | 13.5 KB |
deadline-iosched.txt | -rw-r--r-- | 2.8 KB |
ioprio.txt | -rw-r--r-- | 4.6 KB |
queue-sysfs.txt | -rw-r--r-- | 4.8 KB |
request.txt | -rw-r--r-- | 2.0 KB |
stat.txt | -rw-r--r-- | 3.2 KB |
switching-sched.txt | -rw-r--r-- | 1.4 KB |
writeback_cache_control.txt | -rw-r--r-- | 3.8 KB |
Computing file changes ...