Author: mjg
Date: Sat Nov 14 19:23:07 2020
New Revision: 367696
URL: https://svnweb.freebsd.org/changeset/base/367696
Log:
zfs: disable periodic arc updates
They are only there to provide less innacurate statistics for debuggers.
However, this is quite heavy-weight and instead it would be better to
teach debuggers how to obtain the necessary information.
Modified:
head/sys/contrib/openzfs/module/zfs/arc.c
Modified: head/sys/contrib/openzfs/module/zfs/arc.c
==============================================================================
--- head/sys/contrib/openzfs/module/zfs/arc.c Sat Nov 14 19:22:02 2020
(r367695)
+++ head/sys/contrib/openzfs/module/zfs/arc.c Sat Nov 14 19:23:07 2020
(r367696)
@@ -4791,8 +4791,10 @@ arc_evict_cb_check(void *arg, zthr_t *zthr)
* arc_state_t structures can be queried directly if more
* accurate information is needed.
*/
+#ifndef __FreeBSD__
if (arc_ksp != NULL)
arc_ksp->ks_update(arc_ksp, KSTAT_READ);
+#endif
/*
* We have to rely on arc_wait_for_eviction() to tell us when to
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"