* Description of problem: Upstream commit f3a132fa1b8c ("btrfs-progs: factor out compression type name parsing to common utils", 2021-09-07), part of the v5.14 upstream release, broke the parsing of the compression algorithm in $ btrfs filesystem defragment -c[<algo>] regardless of the particular <algo> specified (assuming an <algo> *is* specified). * Version-Release number of selected component (if applicable): btrfs-progs-5.14-2.fc34.x86_64 * How reproducible: 100% * Steps to Reproduce: $ fallocate -l 512M mydisk $ LOOP=$(losetup --show -f mydisk) $ mkfs.btrfs -- "$LOOP" $ mount -- "$LOOP" /mnt $ btrfs filesystem defragment -czlib /mnt * Actual results: ERROR: unknown compression type: zlib * Expected results: WARNING: directory specified but recursive mode not requested: /mnt WARNING: a directory passed to the defrag ioctl will not process the files recursively but will defragment the subvolume tree and the extent tree. If this is not intended, please use option -r . * Additional info: - Downgrading to btrfs-progs-5.13.1-1.fc34 mitigates the issue. - 5.14 comes from bug 2003211. - upstream ticket: https://github.com/kdave/btrfs-progs/issues/403
(This breaks the "btrfs_filesystem_defragment" check in the libguestfs c-api self-test; see in "generator/actions_core.ml" at commit f47e0bb67254.)
User report on #fedora similar error: >ERROR: unknown compression type: zstd
There's a fix upstream, and it will be in 5.14.1 tentatively scheduled for SEP 20. Fedora will pick that up soon after that.
New upstream release fixes this. https://lore.kernel.org/linux-btrfs/20210920162224.27927-1-dsterba@suse.com/T/#u
FEDORA-2021-2225202282 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2225202282
FEDORA-2021-d1fcf999b9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d1fcf999b9
FEDORA-2021-e63926a1bb has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e63926a1bb
FEDORA-2021-2225202282 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2225202282` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2225202282 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-d1fcf999b9 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d1fcf999b9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d1fcf999b9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-e63926a1bb has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e63926a1bb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e63926a1bb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-d1fcf999b9 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-2225202282 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-e63926a1bb has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.