commit | f43ffb60fd94e98be02780944e182ade6653b916 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 16 22:04:47 2012 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 16 22:04:47 2012 +0200 |
tree | 50cab47a03c223d0641d8fe62805e71f5cffef1a | |
parent | c9e9f97bdfb64d06e9520f8e4f37674ac21cc9bc [diff] |
Btrfs: add basic infrastructure for selective balancing This allows to have a separate set of filters for each chunk type (data,meta,sys). The code however is generic and switch on chunk type is only done once. This commit also adds a type filter: it allows to balance for example meta and system chunks w/o touching data ones. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>