btrfs-progs: extend balance args to take min/max limit filter
authorDavid Sterba <dsterba@suse.com>
Sun, 11 Oct 2015 22:34:58 +0000 (00:34 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 12 Jan 2016 14:01:03 +0000 (15:01 +0100)
commit45e9bf809816e9992c288af68f72f01e2329c18d
treea793dc5fd0c1d783bf093e28e3b43bc23879ae24
parentebb66f20aeee76a776d0d64502a9f85d6e8fb77b
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>
Documentation/btrfs-balance.asciidoc
cmds-balance.c
ioctl.h
volumes.h