]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add balance filters limits, stripes and usage to supported mask
authorDavid Sterba <dsterba@suse.com>
Fri, 16 Oct 2015 17:15:50 +0000 (19:15 +0200)
committerChris Mason <clm@fb.com>
Tue, 27 Oct 2015 02:38:30 +0000 (19:38 -0700)
commite72bf44ad25a59eed421bd2d2521a145954bc3a6
tree8a1aa156274ddf2222f31ca54c89a93f984d4ca3
parentbadf80a5c31b58aef1cc306feb3a000e3f26144b
btrfs: add balance filters limits, stripes and usage to supported mask

Enable the extended 'limit' syntax (a range), the new 'stripes' and
extended 'usage' syntax (a range) filters in the filters mask. The patch
comes separate and not within the series that introduced the new filters
because the patch adding the mask was merged in a late rc. The
integration branch was based on an older rc and could not merge the
patch due to the missing changes.

Prerequisities:
* btrfs: check unsupported filters in balance arguments
* btrfs: extend balance filter limit to take minimum and maximum
* btrfs: add balance filter for stripes
* btrfs: extend balance filter usage to take minimum and maximum

Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.h