I just confirmed that Ubuntu 21.04 has no kernel patches for btrfs that are not from upstream stable releases, so I have doubts that this is Ubuntu-specific. We do produce testing builds of unpatched upstream kernel releases though, so you could try out 5.11 and 5.12 builds to check whether this is an upstream issue. Those builds can be found here:
https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1925284 Title: Btrfs: Disk replacement causes massive allocation of empty single chunks while degraded To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1925284/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs