aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2021-03-11 22:23:24 -0500
committerGitHub <[email protected]>2021-03-11 19:23:24 -0800
commit35aa9dc6dfddb319bed027e1eebb17ff226bd2bc (patch)
tree5f5895db4cbf1b54050287f05acd2b7589d1619d
parentc94d648b1c2726882c57cb4e48bc61d74c881418 (diff)
FreeBSD: Fix scope of deadman tunables
A few deadman tunables ended up in the wrong sysctl node. Move them to vfs.zfs.deadman.* Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #11715
-rw-r--r--module/zfs/spa_misc.c4
-rw-r--r--tests/zfs-tests/include/tunables.cfg8
2 files changed, 6 insertions, 6 deletions
diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c
index 0dacf9027..1a2e5abc5 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 e93e299ea..1cef60b0d 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