Btrfs: devid filter

Relocate chunks which have at least one stripe located on a device with
devid X.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Ilya Dryomov
2012-01-16 22:04:47 +02:00
parent 5ce5b3c091
commit 409d404b46
2 changed files with 24 additions and 0 deletions

View File

@ -201,6 +201,7 @@ struct map_lookup {
*/
#define BTRFS_BALANCE_ARGS_PROFILES (1ULL << 0)
#define BTRFS_BALANCE_ARGS_USAGE (1ULL << 1)
#define BTRFS_BALANCE_ARGS_DEVID (1ULL << 2)
struct btrfs_balance_args;
struct btrfs_balance_control {