From 5e744cdc6943bb3c16ed8afe0cd9a8f5bd56add2 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Tue, 9 Mar 2021 08:31:01 -0500 Subject: [PATCH] FreeBSD: Fix scope of deadman tunables A few deadman tunables ended up in the wrong sysctl node. Move them to vfs.zfs.deadman.* Signed-off-by: Ryan Moeller --- module/zfs/spa_misc.c | 4 ++-- tests/zfs-tests/include/tunables.cfg | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index 0dacf9027b27..1a2e5abc5335 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -2923,10 +2923,10 @@ ZFS_MODULE_PARAM(zfs, zfs_, recover, INT, ZMOD_RW, ZFS_MODULE_PARAM(zfs, zfs_, free_leak_on_eio, INT, ZMOD_RW, "Set to ignore IO errors during free and permanently leak the space"); -ZFS_MODULE_PARAM(zfs, zfs_, deadman_checktime_ms, ULONG, ZMOD_RW, +ZFS_MODULE_PARAM(zfs_deadman, zfs_deadman_, checktime_ms, ULONG, ZMOD_RW, "Dead I/O check interval in milliseconds"); -ZFS_MODULE_PARAM(zfs, zfs_, deadman_enabled, INT, ZMOD_RW, +ZFS_MODULE_PARAM(zfs_deadman, zfs_deadman_, enabled, INT, ZMOD_RW, "Enable deadman timer"); ZFS_MODULE_PARAM(zfs_spa, spa_, asize_inflation, INT, ZMOD_RW, diff --git a/tests/zfs-tests/include/tunables.cfg b/tests/zfs-tests/include/tunables.cfg index e93e299ea25a..1cef60b0d634 100644 --- a/tests/zfs-tests/include/tunables.cfg +++ b/tests/zfs-tests/include/tunables.cfg @@ -27,10 +27,10 @@ COMPRESSED_ARC_ENABLED compressed_arc_enabled zfs_compressed_arc_enabled CONDENSE_INDIRECT_COMMIT_ENTRY_DELAY_MS condense.indirect_commit_entry_delay_ms zfs_condense_indirect_commit_entry_delay_ms CONDENSE_MIN_MAPPING_BYTES condense.min_mapping_bytes zfs_condense_min_mapping_bytes DBUF_CACHE_MAX_BYTES dbuf_cache.max_bytes dbuf_cache_max_bytes -DEADMAN_CHECKTIME_MS deadman_checktime_ms zfs_deadman_checktime_ms -DEADMAN_FAILMODE deadman_failmode zfs_deadman_failmode -DEADMAN_SYNCTIME_MS deadman_synctime_ms zfs_deadman_synctime_ms -DEADMAN_ZIOTIME_MS deadman_ziotime_ms zfs_deadman_ziotime_ms +DEADMAN_CHECKTIME_MS deadman.checktime_ms zfs_deadman_checktime_ms +DEADMAN_FAILMODE deadman.failmode zfs_deadman_failmode +DEADMAN_SYNCTIME_MS deadman.synctime_ms zfs_deadman_synctime_ms +DEADMAN_ZIOTIME_MS deadman.ziotime_ms zfs_deadman_ziotime_ms DISABLE_IVSET_GUID_CHECK disable_ivset_guid_check zfs_disable_ivset_guid_check INITIALIZE_CHUNK_SIZE initialize_chunk_size zfs_initialize_chunk_size INITIALIZE_VALUE initialize_value zfs_initialize_value