ZTS: zvol_misc_trim disable blk mq

Disable the zvol_misc_fua.ksh and zvol_misc_trim.ksh test cases on impacted
kernels.  This issue is being actively worked in #14872 and as part of that
fix this commit will be reverted.

    VERIFY(zh->zh_claim_txg == 0) failed
    PANIC at zil.c:904:zil_create()

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #14872
Closes #14870
This commit is contained in:
Brian Behlendorf 2023-05-29 12:55:35 -07:00 committed by GitHub
parent 0f03a41161
commit e085e98d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View File

@ -279,6 +279,8 @@ elif sys.platform.startswith('linux'):
'mmp/mmp_inactive_import': ['FAIL', known_reason], 'mmp/mmp_inactive_import': ['FAIL', known_reason],
'zvol/zvol_misc/zvol_misc_snapdev': ['FAIL', 12621], 'zvol/zvol_misc/zvol_misc_snapdev': ['FAIL', 12621],
'zvol/zvol_misc/zvol_misc_volmode': ['FAIL', known_reason], 'zvol/zvol_misc/zvol_misc_volmode': ['FAIL', known_reason],
'zvol/zvol_misc/zvol_misc_fua': ['SKIP', 14872],
'zvol/zvol_misc/zvol_misc_trim': ['SKIP', 14872],
'idmap_mount/idmap_mount_001': ['SKIP', idmap_reason], 'idmap_mount/idmap_mount_001': ['SKIP', idmap_reason],
'idmap_mount/idmap_mount_002': ['SKIP', idmap_reason], 'idmap_mount/idmap_mount_002': ['SKIP', idmap_reason],
'idmap_mount/idmap_mount_003': ['SKIP', idmap_reason], 'idmap_mount/idmap_mount_003': ['SKIP', idmap_reason],

View File

@ -45,6 +45,15 @@ fi
if ! is_linux ; then if ! is_linux ; then
log_unsupported "Only linux supports dd with oflag=dsync for FUA writes" log_unsupported "Only linux supports dd with oflag=dsync for FUA writes"
else
if [[ $(linux_version) -gt $(linux_version "6.2") ]]; then
log_unsupported "Disabled while issue #14872 is being worked"
fi
# Disabled for the CentOS 9 kernel
if [[ $(linux_version) -eq $(linux_version "5.14") ]]; then
log_unsupported "Disabled while issue #14872 is being worked"
fi
fi fi
typeset datafile1="$(mktemp zvol_misc_fua1.XXXXXX)" typeset datafile1="$(mktemp zvol_misc_fua1.XXXXXX)"

View File

@ -44,6 +44,15 @@
verify_runnable "global" verify_runnable "global"
if is_linux ; then if is_linux ; then
if [[ $(linux_version) -gt $(linux_version "6.2") ]]; then
log_unsupported "Disabled while issue #14872 is being worked"
fi
# Disabled for the CentOS 9 kernel
if [[ $(linux_version) -eq $(linux_version "5.14") ]]; then
log_unsupported "Disabled while issue #14872 is being worked"
fi
# We need '--force' here since the prior tests may leave a filesystem # We need '--force' here since the prior tests may leave a filesystem
# on the zvol, and blkdiscard will see that filesystem and print a # on the zvol, and blkdiscard will see that filesystem and print a
# warning unless you force it. # warning unless you force it.
@ -123,7 +132,6 @@ log_must zfs set compression=off $TESTPOOL/$TESTVOL
# Remove old data from previous tests # Remove old data from previous tests
log_must $trimcmd $zvolpath log_must $trimcmd $zvolpath
set_blk_mq 1 set_blk_mq 1
log_must_busy zpool export $TESTPOOL log_must_busy zpool export $TESTPOOL
log_must zpool import $TESTPOOL log_must zpool import $TESTPOOL