HomeFreeBSD

Autotrim High Load Average Fix

Description

Autotrim High Load Average Fix

Switch from cv_wait() to cv_wait_idle() in vdev_autotrim_wait_kick(),
which should mitigate the high load average while waiting.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: jxdking <lostking2008@hotmail.com>
Closes #15781

Details

Provenance
Kevin Jin <33590050+jxdking@users.noreply.github.com>Authored on Jan 17 2024, 5:03 PM
GitHub <noreply@github.com>Committed on Jan 17 2024, 5:03 PM
Parents
rGf45dd90f34cf: Fix cloning into mmaped and cached file.
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG1494e8fbaac6: Autotrim High Load Average Fix (authored by Kevin Jin <33590050+jxdking@users.noreply.github.com>).Jan 17 2024, 5:03 PM