From patchwork Wed Mar 15 00:53:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 13175181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1070FC6FD1F for ; Wed, 15 Mar 2023 00:53:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbjCOAxx (ORCPT ); Tue, 14 Mar 2023 20:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjCOAxv (ORCPT ); Tue, 14 Mar 2023 20:53:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F22D21965; Tue, 14 Mar 2023 17:53:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A3BBC61A8D; Wed, 15 Mar 2023 00:53:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0807EC433EF; Wed, 15 Mar 2023 00:53:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678841630; bh=PFtlph1E4q/CEQjbKuStRk3Cq9HLNkxvt+LC4KuoBDE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=K48q+ewv/vub02KBQUctnCs+91xP5AuKG//Ppyp7HujkKpet5i1NBCef+zmRqBYMR c/MAxWZAFBX4B2by9EhbDwfBxvspDvWZ4h7sslm3/LY8eFITxKv7V7WSRtVqzCkn7l k+OkJp3eY7q7Cl8QiJczdLDVRPrqCQmbAyJKOQa4oMH0rOZ+Y1ZzzKsRFf5ayG04DD FulE6V0lZRWAFRRYm6i7E/B385LFSZU593ibp2EmcIflVpP7vX/ZA7ie9Hsm+kn7jN +vxEyn0vu3SCUpNVOEsddcb39SJxpMYEPpVRvwzXZVsJdO7zY2l8m9KBrg4VpfSmDp 0S5UqGbFhZQUA== Subject: [PATCH 14/15] report: record ext*-specific information about a test run From: "Darrick J. Wong" To: zlang@redhat.com, djwong@kernel.org Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me, leah.rumancik@gmail.com, quwenruo.btrfs@gmx.com, tytso@mit.edu Date: Tue, 14 Mar 2023 17:53:49 -0700 Message-ID: <167884162954.2482843.191249534178669922.stgit@magnolia> In-Reply-To: <167884155064.2482843.4310780034948240980.stgit@magnolia> References: <167884155064.2482843.4310780034948240980.stgit@magnolia> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org From: Darrick J. Wong Report various ext* specific information about a test run. Signed-off-by: Darrick J. Wong --- common/ext4 | 5 +++++ common/report | 1 + 2 files changed, 6 insertions(+) diff --git a/common/ext4 b/common/ext4 index 8fd6dbc682..3dcbfe17c9 100644 --- a/common/ext4 +++ b/common/ext4 @@ -2,6 +2,11 @@ # ext4 specific common functions # +__generate_ext4_report_vars() { + __generate_blockdev_report_vars TEST_LOGDEV + __generate_blockdev_report_vars SCRATCH_LOGDEV +} + _setup_large_ext4_fs() { local fs_size=$1 diff --git a/common/report b/common/report index 86274af887..db15aec54f 100644 --- a/common/report +++ b/common/report @@ -66,6 +66,7 @@ __generate_report_vars() { # Add per-filesystem variables to the report variable list test "$FSTYP" = "xfs" && __generate_xfs_report_vars + [[ "$FSTYP" == ext[0-9]* ]] && __generate_ext4_report_vars # Optional environmental variables for varname in "${REPORT_ENV_LIST_OPT[@]}"; do