summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-balance.asciidoc
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-10-12 00:34:58 +0200
committerDavid Sterba <dsterba@suse.com>2016-01-12 15:01:03 +0100
commit45e9bf809816e9992c288af68f72f01e2329c18d (patch)
treea793dc5fd0c1d783bf093e28e3b43bc23879ae24 /Documentation/btrfs-balance.asciidoc
parentebb66f20aeee76a776d0d64502a9f85d6e8fb77b (diff)
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 'Documentation/btrfs-balance.asciidoc')
-rw-r--r--Documentation/btrfs-balance.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/btrfs-balance.asciidoc b/Documentation/btrfs-balance.asciidoc
index d00abdfc..3562a286 100644
--- a/Documentation/btrfs-balance.asciidoc
+++ b/Documentation/btrfs-balance.asciidoc
@@ -130,6 +130,12 @@ parameters.
Process only given number of chunks, after all filters are applied. This can be
used to specifically target a chunk in connection with other filters (drange,
vrange) or just simply limit the amount of work done by a single balance run.
++
+The argument may be a single value or a range. The single value *N* means *at
+most N chunks*, equivalent to *..N* range syntax. Kernels prior to 4.4 accept
+only the single value format.
++
+The range minimum and maximum are inclusive.
*soft*::
Takes no parameters. Only has meaning when converting between profiles.