HomeFreeBSD

Don't wakeup unnecessarily in 'zpool events -f'

Description

Don't wakeup unnecessarily in 'zpool events -f'

ZED can prevent CPU's from properly sleeping.

Rather than periodically waking up in the zevents code, just go to sleep and wait for a wakeup.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Closes #9091

Details

Provenance
DeHackEd <DeHackEd@users.noreply.github.com>Authored on Aug 5 2019, 6:35 PM
mahrensCommitted on Aug 5 2019, 6:35 PM
Parents
R10:809846555818: Test cancelling a removal in ZTS
Branches
Unknown
Tags
Unknown

Event Timeline