Re: [PATCH v2 3/5] generic/746: skip on zoned btrfs
Christoph Hellwig <[email protected]>
| Newsgroups | org.kernel.vger.fstests,org.kernel.vger.linux-btrfs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 19, 2026 at 03:16:03PM +0200, Johannes Thumshirn wrote: > The test relies on loop device discards punching holes in the backing > image file (holes are then detected via fiemap on the backing file). > Zoned btrfs does not support fallocate/punch hole, so fstrim on the > loop device cannot free space in the backing file and the test cannot > work. > > Skip the test on filesystems that do not support "fpunch" Shouldn't _require_fstrim return false for zoned btrfs given that trimming makes zero sense? Otherwise once zoned btrfs at some point supports fpunch (which it really should), this starts breaking again.