diff options
author | David Sterba <dsterba@suse.com> | 2015-10-12 00:34:58 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-12 15:01:03 +0100 |
commit | 45e9bf809816e9992c288af68f72f01e2329c18d (patch) | |
tree | a793dc5fd0c1d783bf093e28e3b43bc23879ae24 /volumes.h | |
parent | ebb66f20aeee76a776d0d64502a9f85d6e8fb77b (diff) | |
download | btrfs-progs-45e9bf809816e9992c288af68f72f01e2329c18d.tar.gz |
btrfs-progs: extend balance args to take min/max limit filter
Add the overlapping limit and [limit_min, limit_max] members to the
balance args. The min/max values are interpreted iff the corresponding
flag BTRFS_BALANCE_ARGS_LIMIT_RANGE is set.
The minimum and maximum are inclusive.
Note that the values are only 32bit, but this should be enough for the
foreseeable future.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'volumes.h')
-rw-r--r-- | volumes.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -136,6 +136,7 @@ struct map_lookup { #define BTRFS_BALANCE_ARGS_DRANGE (1ULL << 3) #define BTRFS_BALANCE_ARGS_VRANGE (1ULL << 4) #define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5) +#define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6) /* * Profile changing flags. When SOFT is set we won't relocate chunk if |