]> git.baikalelectronics.ru Git - kernel.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)
commit342ec2211ee27116f92f5b9c00adb11a0a6189d2
tree50cab47a03c223d0641d8fe62805e71f5cffef1a
parent061dfb296d3d7e0d65f6f9deda23f991ad5df53a
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