On Tue, Jul 22, 2025 at 07:50:48AM +0000, Johannes Thumshirn wrote: > On 22.07.25 08:56, Christoph Hellwig wrote: > > I just noticed this test failing on zoned xfs in current for-next. > > > > That's because for out of place overwrite file systems writing at > > ENOSPC will obviously fail, and I think the test acknowledges that > > by forcing nocow for btrfs. > > > > But that leaves "real" out of place write file systems affected, which > > should also include zone btrfs, but the test actually fails there > > in mkfs already due to some reason. > > It probably fails the _try_scratch_mkfs_sized() call because that goes > into _check_minimal_fs_size() and that should _notrun if $fssize < > $MIN_FSSIZE. Btw, it would be really helpful to improve the test coverage if btrfs did the same adjustment for the nimimum size as zone xfs, where mkfs run up the requested size to the zone size and then adds the required extra zones that don't show up in the user capacity. That way all the small size based tests just work.