summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-03-14 17:53:49 -0700
committerZorro Lang <zlang@kernel.org>2023-03-26 22:09:02 +0800
commitea9db87c90a1ce0e1dd3ffd44a1c0c550c25d824 (patch)
tree7dfa96f6523d25837357a64ce11fe47fc1aafef8 /common
parent159d630a3d539baad3b1980a2149ce8a4604bb71 (diff)
report: record ext*-specific information about a test run
Report various ext* specific information about a test run. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'common')
-rw-r--r--common/ext45
-rw-r--r--common/report1
2 files changed, 6 insertions, 0 deletions
diff --git a/common/ext4 b/common/ext4
index 8fd6dbc6..3dcbfe17 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 86274af8..db15aec5 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