summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-01-16 22:04:47 +0200
committerIlya Dryomov <idryomov@gmail.com>2012-01-16 22:04:47 +0200
commit5ce5b3c0916ba3a2e34cf648b94044adc5ef9e76 (patch)
tree0cfbc8eeea18b9491275c59b8a7eed1471a2abd3 /fs/btrfs/volumes.h
parented25e9b26f898d8d63ae4a836489f1923534143b (diff)
downloadop-kernel-dev-5ce5b3c0916ba3a2e34cf648b94044adc5ef9e76.zip
op-kernel-dev-5ce5b3c0916ba3a2e34cf648b94044adc5ef9e76.tar.gz
Btrfs: usage filter
Select chunks that are less than X percent full. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index fb20d77..eee77fc 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -200,6 +200,7 @@ struct map_lookup {
* Balance filters
*/
#define BTRFS_BALANCE_ARGS_PROFILES (1ULL << 0)
+#define BTRFS_BALANCE_ARGS_USAGE (1ULL << 1)
struct btrfs_balance_args;
struct btrfs_balance_control {
OpenPOWER on IntegriCloud