From 0826a8ddb90e577c5c359d8bca2571f167029f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabr=C3=ADel=20Arth=C3=BAr=20P=C3=A9tursson?= Date: Mon, 28 Sep 2015 22:33:04 +0000 Subject: btrfs-progs: balance: add stripes filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add new balance filter 'stripes=' 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 [ reworked a bit to use the range helpers, dropped the single value for stripes ] Signed-off-by: David Sterba --- volumes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'volumes.h') diff --git a/volumes.h b/volumes.h index b6ea1912..f5064304 100644 --- a/volumes.h +++ b/volumes.h @@ -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 -- cgit v1.2.3