]> Git Repo - linux.git/commit - fs/btrfs/ctree.h
btrfs: extend balance filter usage to take minimum and maximum
authorDavid Sterba <[email protected]>
Tue, 20 Oct 2015 16:22:13 +0000 (18:22 +0200)
committerChris Mason <[email protected]>
Tue, 27 Oct 2015 02:38:30 +0000 (19:38 -0700)
commitbc3094673f22d00794a8606200788e411b4ec80d
treea90e4834e26e4e69339a100d1489bcc3159e06d8
parentdee32d0ac3719ef8d640efaf0884111df444730f
btrfs: extend balance filter usage to take minimum and maximum

Similar to the 'limit' filter, we can enhance the 'usage' filter to
accept a range. The change is backward compatible, the range is applied
only in connection with the BTRFS_BALANCE_ARGS_USAGE_RANGE flag.

We don't have a usecase yet, the current syntax has been sufficient. The
enhancement should provide parity with other range-like filters.

Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ctree.h
fs/btrfs/volumes.c
fs/btrfs/volumes.h
include/uapi/linux/btrfs.h
This page took 0.056214 seconds and 4 git commands to generate.