From 1768d7f3c692df59e49cf7f91637b0544a9bbf0a Mon Sep 17 00:00:00 2001 From: Ivo Cavalcante Date: Fri, 30 Apr 2021 10:18:03 -0300 Subject: [PATCH] Removed forced -dusage=0 and -musage=0 Removed forced balancing of data and metadata, on non-mixed blockgroups case. --- btrfs-balance.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/btrfs-balance.sh b/btrfs-balance.sh index 2a55df5..86cf22b 100644 --- a/btrfs-balance.sh +++ b/btrfs-balance.sh @@ -44,12 +44,11 @@ for MM in $BTRFS_BALANCE_MOUNTPOINTS; do run_task btrfs balance start -v -musage=$BB -dusage=$BB "$MM" done else - run_task btrfs balance start -dusage=0 "$MM" for BB in $BTRFS_BALANCE_DUSAGE; do # quick round to clean up the unused block groups run_task btrfs balance start -v -dusage=$BB "$MM" done - run_task btrfs balance start -musage=0 "$MM" + for BB in $BTRFS_BALANCE_MUSAGE; do # quick round to clean up the unused block groups run_task btrfs balance start -v -musage="$BB" "$MM"