1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

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.
This commit is contained in:
Mateusz Guzik 2020-11-14 19:23:07 +00:00
parent f34a2f56c3
commit 5596f836e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367696

View File

@ -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