]> granicus.if.org Git - zfs/commit
Don't wakeup unnecessarily in 'zpool events -f'
authorDeHackEd <DeHackEd@users.noreply.github.com>
Mon, 5 Aug 2019 18:35:47 +0000 (14:35 -0400)
committerMatthew Ahrens <mahrens@delphix.com>
Mon, 5 Aug 2019 18:35:47 +0000 (11:35 -0700)
commit99e755d653aec351c43a636b5734d1de3476d233
treeb6153813d8fbb83ca8aa8f6b1f2740f9a8a570e9
parent8098465558184612265afeaf72d98369b77f4acc
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
module/zfs/fm.c