summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-12-09 18:22:57 +0000
committerpjd <pjd@FreeBSD.org>2011-12-09 18:22:57 +0000
commit78c57131bbbef12fcd40db1c89254c750d23cf03 (patch)
tree9d32133f3ec8bd4339f158242908f31dac3537e5
parent849cc37bd7c0247dec2a67b45302c71fc45a9965 (diff)
downloadFreeBSD-src-78c57131bbbef12fcd40db1c89254c750d23cf03.zip
FreeBSD-src-78c57131bbbef12fcd40db1c89254c750d23cf03.tar.gz
The vfs.zfs.txg.timeout sysctl can be safely modified at run time.
MFC after: 1 week
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c
index cfc1687..2e35e9e 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c
@@ -43,7 +43,7 @@ int zfs_txg_timeout = 5; /* max seconds worth of delta per txg */
SYSCTL_DECL(_vfs_zfs);
SYSCTL_NODE(_vfs_zfs, OID_AUTO, txg, CTLFLAG_RW, 0, "ZFS TXG");
TUNABLE_INT("vfs.zfs.txg.timeout", &zfs_txg_timeout);
-SYSCTL_INT(_vfs_zfs_txg, OID_AUTO, timeout, CTLFLAG_RDTUN, &zfs_txg_timeout, 0,
+SYSCTL_INT(_vfs_zfs_txg, OID_AUTO, timeout, CTLFLAG_RW, &zfs_txg_timeout, 0,
"Maximum seconds worth of delta per txg");
/*
OpenPOWER on IntegriCloud