From 95a6d78d2424134cbf1af48892ccefdfef93174f Mon Sep 17 00:00:00 2001 From: DHE Date: Sun, 28 Jul 2019 22:34:19 -0400 Subject: [PATCH] Don't wakeup unnecessarily in 'zpool events -f' Signed-off-by: DHE --- module/zfs/fm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/zfs/fm.c b/module/zfs/fm.c index cc5225dcbbef..0a0fc79bd372 100644 --- a/module/zfs/fm.c +++ b/module/zfs/fm.c @@ -683,8 +683,7 @@ zfs_zevent_wait(zfs_zevent_t *ze) break; } - error = cv_timedwait_sig(&zevent_cv, &zevent_lock, - ddi_get_lbolt() + MSEC_TO_TICK(10)); + error = cv_wait_sig(&zevent_cv, &zevent_lock); if (signal_pending(current)) { error = SET_ERROR(EINTR); break;