diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-11-14 19:23:07 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-11-14 19:23:07 +0000 |
commit | 5596f836e7e04a272113e57b3a80f1f67c0fec7f (patch) | |
tree | 31f462947a1372be350d21013f1fe6f3fece49ec /sys/contrib/openzfs/module/zfs | |
parent | f34a2f56c384374b67a25ff76cb7948ae863be4c (diff) | |
download | src-5596f836e7e04a272113e57b3a80f1f67c0fec7f.tar.gz src-5596f836e7e04a272113e57b3a80f1f67c0fec7f.zip |
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.
Notes
Notes:
svn path=/head/; revision=367696
Diffstat (limited to 'sys/contrib/openzfs/module/zfs')
-rw-r--r-- | sys/contrib/openzfs/module/zfs/arc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/openzfs/module/zfs/arc.c b/sys/contrib/openzfs/module/zfs/arc.c index 3ba198380733..68508cf152a8 100644 --- a/sys/contrib/openzfs/module/zfs/arc.c +++ b/sys/contrib/openzfs/module/zfs/arc.c @@ -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 |