]> rtime.felk.cvut.cz Git - linux-imx.git/commit
Btrfs: add basic infrastructure for selective balancing
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:47 +0000 (22:04 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:47 +0000 (22:04 +0200)
commitf43ffb60fd94e98be02780944e182ade6653b916
tree50cab47a03c223d0641d8fe62805e71f5cffef1a
parentc9e9f97bdfb64d06e9520f8e4f37674ac21cc9bc
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>
fs/btrfs/ioctl.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h