Re: [PATCH v3] fstests: test premature ENOSPC in zoned garbage collection

Johannes Thumshirn <[email protected]>
Newsgroups org.kernel.vger.fstests,org.kernel.vger.linux-btrfs
Message-ID <[email protected]>
On 4/15/26 8:27 AM, Christoph Hellwig wrote:
> On Wed, Apr 15, 2026 at 08:10:29AM +0200, Johannes Thumshirn wrote:
>> The test still doesn't run for me on XFS:
> Worked for me.  What does the full output say mkfs complained about?
>
Here we go:

bash-5.3# cat ../fstests/results/generic/999.full
** mkfs failed with extra mkfs options added to "" by test 999 **
** attempting to mkfs using only test 999 options: -d size=17179869184 
-r size=17179869184 -b size=4096 **
size 17179869184 specified for data subvolume is too large, maximum is 
262144 blocks
Usage: mkfs.xfs
/* blocksize */        [-b size=num]
/* config file */    [-c options=xxx]
/* metadata */        [-m 
crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,
                 inobtcount=0|1,bigtime=0|1,autofsck=xxx,
                 metadir=0|1]
/* quota */        [-m uquota|uqnoenforce,gquota|gqnoenforce,
                 pquota|pqnoenforce]
/* data subvol */    [-d agcount=n,agsize=n,file,name=xxx,size=num,
                 (sunit=value,swidth=value|su=num,sw=num|noalign),
                 sectsize=num,concurrency=num]
/* force overwrite */    [-f]
/* inode size */    [-i perblock=n|size=num,maxpct=n,attr=0|1|2,
                 projid32bit=0|1,sparse=0|1,nrext64=0|1,
                 exchange=0|1]
/* no discard */    [-K]
/* log subvol */    [-l agnum=n,internal,size=num,logdev=xxx,version=n
                 sunit=value|su=num,sectsize=num,lazy-count=0|1,
                 concurrency=num]
/* label */        [-L label (maximum 12 characters)]
/* naming */        [-n size=num,version=2|ci,ftype=0|1,parent=0|1]]
/* no-op info only */    [-N]
/* prototype file */    [-p fname]
/* quiet */        [-q]
/* realtime subvol */    [-r 
extsize=num,size=num,rtdev=xxx,rgcount=n,rgsize=n,
                 concurrency=num,zoned=0|1,start=n,reserved=n]
/* sectorsize */    [-s size=num]
/* version */        [-V]
             devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
       xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
<value> is xxx (512 byte blocks).
999 not run: _scratch_mkfs_sized failed with (17179869184)
umount: /dev/vdb: not mounted.
bash-5.3#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.