]> 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)
commit5cf51824b8e8aa7f97452d1e279d62035498cb73
tree50cab47a03c223d0641d8fe62805e71f5cffef1a
parent6a837ea7a1502f0221d927037ef72b372386fb2f
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