FreeBSD Bugzilla – Attachment 185875 Details for
Bug 221906
sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up
sys-cddl-Allow-to-modify-the-ZFS-deadman-sysctls-afte.diff (text/plain), 1.91 KB, created by
Fabian Keil
on 2017-08-29 12:58:46 UTC
(
hide
)
Description:
sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2017-08-29 12:58:46 UTC
Size:
1.91 KB
patch
obsolete
>From b15db19702815adacc68d337f5a7bdb293ebec14 Mon Sep 17 00:00:00 2001 >From: Fabian Keil <fk@fabiankeil.de> >Date: Fri, 3 Jul 2015 17:07:24 +0200 >Subject: [PATCH] sys/cddl: Allow to modify the ZFS deadman sysctls after the > system is up > >There does not seem to be a technical reason why it shouldn't >be done and being able to temporarily disable the deadman >is useful when importing a pool that is backed by remote >storage (such as ggated running as onion service). > >Obtained from: ElectroBSD >--- > sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c >index c700a0ffd74f..f660cbc979bb 100644 >--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c >+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c >@@ -358,13 +358,13 @@ SYSCTL_PROC(_vfs_zfs, OID_AUTO, debugflags, > CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RWTUN, 0, sizeof(int), > sysctl_vfs_zfs_debug_flags, "IU", "Debug flags for ZFS testing."); > >-SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, deadman_synctime_ms, CTLFLAG_RDTUN, >+SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, deadman_synctime_ms, CTLFLAG_RWTUN, > &zfs_deadman_synctime_ms, 0, > "Stalled ZFS I/O expiration time in milliseconds"); >-SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, deadman_checktime_ms, CTLFLAG_RDTUN, >+SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, deadman_checktime_ms, CTLFLAG_RWTUN, > &zfs_deadman_checktime_ms, 0, > "Period of checks for stalled ZFS I/O in milliseconds"); >-SYSCTL_INT(_vfs_zfs, OID_AUTO, deadman_enabled, CTLFLAG_RDTUN, >+SYSCTL_INT(_vfs_zfs, OID_AUTO, deadman_enabled, CTLFLAG_RWTUN, > &zfs_deadman_enabled, 0, "Kernel panic on stalled ZFS I/O"); > SYSCTL_INT(_vfs_zfs, OID_AUTO, spa_asize_inflation, CTLFLAG_RWTUN, > &spa_asize_inflation, 0, "Worst case inflation factor for single sector writes"); >-- >2.14.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221906
: 185875