diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2013-02-12 16:28:59 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-02-20 12:59:54 -0500 |
commit | 3e39cea61c4ecb5774c08f3e30507fdd58c1cca9 (patch) | |
tree | 6f3f4600f5bb0fa8aebf6847bebcd96b0aa7631c /fs/btrfs/free-space-cache.c | |
parent | bf023ecfcaf114c410759f375073e78b0871c120 (diff) |
Btrfs: allow for selecting only completely empty chunks
Enhance balance usage filter by making it possible to balance out only
completely empty chunks. Today, usage filter properly acts on values
from 1 to 99 inclusive, usage=100 selects all chunks, and usage=0
selects no chunks. This commit changes the usage=0 case: the new
meaning is to restripe only completely empty chunks and nothing else.
Suggested-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions