From a9bb2b682785d48b4bcdaca9d382fc87bbf6e2fb Mon Sep 17 00:00:00 2001 From: Chunwei Chen Date: Wed, 11 May 2016 16:55:48 -0700 Subject: Use cv_timedwait_sig_hires in arc_reclaim_thread The was originally using interruptible cv_timedwait_sig, but was changed to uninterruptible cv_timedwait_hires in ae6d0c6. Use _sig_hires instead to allow interruptible sleep. Signed-off-by: Chunwei Chen Signed-off-by: Brian Behlendorf Closes #4633 Closes #4634 --- module/zfs/arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs') diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 89d11ef42..716ba5c2d 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -3506,7 +3506,7 @@ arc_reclaim_thread(void) * even if we aren't being signalled) */ CALLB_CPR_SAFE_BEGIN(&cpr); - (void) cv_timedwait_hires(&arc_reclaim_thread_cv, + (void) cv_timedwait_sig_hires(&arc_reclaim_thread_cv, &arc_reclaim_lock, SEC2NSEC(1), MSEC2NSEC(1), 0); CALLB_CPR_SAFE_END(&cpr, &arc_reclaim_lock); } -- cgit v1.2.3