Message ID | 20240227-balance-fix-v4-1-d22d63972d93@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fstests: btrfs: add test for zoned balance profile conversion bug | expand |
diff --git a/common/filter.btrfs b/common/filter.btrfs index 8ab76fcb..ea76e729 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