diff options
author | Gabríel Arthúr Pétursson <gabriel@system.is> | 2015-09-28 22:33:04 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-12 15:01:04 +0100 |
commit | 0826a8ddb90e577c5c359d8bca2571f167029f7e (patch) | |
tree | 43cad92e0e3f810d3df3c3d07edb421f1723d5e4 /volumes.h | |
parent | 7dff5c9c9b980e9848e1716434606eb01c16914e (diff) |
btrfs-progs: balance: add stripes filter
Add new balance filter 'stripes=<range>' to process only chunks that are
spread accross given number of chunks.
The range minimum and maximum are inclusive.
Signed-off-by: Gabríel Arthúr Pétursson <gabriel@system.is>
[ reworked a bit to use the range helpers, dropped the single value
for stripes ]
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
@@ -137,6 +137,7 @@ struct map_lookup { #define BTRFS_BALANCE_ARGS_VRANGE (1ULL << 4) #define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5) #define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6) +#define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7) /* * Profile changing flags. When SOFT is set we won't relocate chunk if |