diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-06-03 15:13:05 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-06-19 13:52:45 -0400 |
commit | 7a70b159af8ef70b87771251a7ba45818ef19cfa (patch) | |
tree | 0861c1d46bed4e7d1b1bcf1fad19be96e8bbb907 /cmds-check.c | |
parent | e0ac34931aedc0df48171f47a2b2b77a503fbc41 (diff) |
Btrfs-progs: fix the allocator
The allocator looks for these hints when moving on to another block group which
will make it reset which block group it looks at, when we've already searched
that block group and didn't find any space to allocate, we need to fix this by
just letting the allocator make the determination if the block group is good
enough. This also fixes a problem where if we couldn't find space in the block
group we were given we'd just error out instead of moving on to the next block
group. Previously I couldn't fix some file systems that were relatively full,
but with this patch I can now run fsck on them with no allocation errors.
Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions