Re: [PATCH v3] common: log mkfs output in _test_streams

"Darrick J. Wong" <[email protected]> Thu, 9 Jul 2026 23:11:51 -0700
Newsgroups org.kernel.vger.fstests
Message-ID <20260710061151.GJ15228@frogsfrogsfrogs>
On Fri, Jul 10, 2026 at 07:22:08AM +0200, Christoph Hellwig wrote:
> Log the mkfs output to allow debugging the mkfs paramters,
> especially when mkfs and thus the test fails.
> 
> Signed-off-by: Christoph Hellwig <[email protected]>
> ---
> 
> Changes since v2:
>  - really append to the log
> 
>  common/filestreams | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/filestreams b/common/filestreams
> index 838b5921520a..cce7599817cd 100644
> --- a/common/filestreams
> +++ b/common/filestreams
> @@ -89,7 +89,7 @@ _test_streams() {
>  	# Skip these tests on zoned file systems as filestreams don't work
>  	# with the zoned allocator, and the operation below would force it into
>  	# the tiny data section only used for metadata anyway.
> -	_try_scratch_mkfs_xfs >/dev/null 2>&1 || _fail "mkfs failed"
> +	_try_scratch_mkfs_xfs >>$seqres.full 2>&1 || _fail "mkfs failed"

Woot!
Reviewed-by: "Darrick J. Wong" <[email protected]>

--D

>  	_scratch_mount
>  	_require_xfs_scratch_non_zoned
>  	_scratch_unmount 2>/dev/null
> -- 
> 2.53.0
>