diff options
Diffstat (limited to 'common/filter.btrfs')
-rw-r--r-- | common/filter.btrfs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/filter.btrfs b/common/filter.btrfs index 8ab76fcb19..ea76e72911 100644 --- a/common/filter.btrfs +++ b/common/filter.btrfs @@ -141,5 +141,11 @@ _filter_stripe_tree() -e "s/bytes used [0-9]+/bytes used XXXXXX/" } +# filter output of "btrfs balance start -[smd] convert +_filter_balance_convert() +{ + _filter_scratch | \ + sed -e "s/relocate [0-9]\+ out of [0-9]\+ chunks/relocate X out of X chunks/g" +} # make sure this script returns success /bin/true |