Re: [PATCH 4/6] generic/765: Ignore mkfs warning
Zorro Lang <[email protected]>
| Newsgroups | org.kernel.vger.fstests,org.kernel.vger.linux-ext4 |
|---|---|
| Message-ID | <aeEGUqPcOO2xydDN@zlang-mailbox> |
On Mon, Apr 13, 2026 at 04:42:15PM -0400, Theodore Tso wrote: > > > > > > The output can get corrupted with warnings like below because clustersize > > > > > > more than 16xbs is experimental: > > > > > > > > > > > > + 16 times the block size is considered experimental > > > > > > > > > > > > Hence pipe these to seqres.full to avoid false negatives. > > You could also suppress the warnings using the -q option, for example: > > mke2fs -Fq -t ext4 -O bigalloc,quota -b 4096 -C 131072 /tmp/foo.img 4G > > > > Futher, mke2fs has multiple instances where we print warnings to stderr, > > > should we go and fix all of them as well? > > > > "stderr" meaning "standard error", I'd say that errors are anything that > > prohibits the format from completing, and only errors should go there. > > Sure, I'll accept those changes. But adding -q will allow the test to > pass using older versions of e2fsprogs, while still allowing stderr to > go out the expected output. Aha, good point! Thanks Ted :) > > - Ted >