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 --- include/sys/zfs_context.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sys') diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index 693035ee2..6ba580339 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -365,6 +365,8 @@ extern void cv_broadcast(kcondvar_t *cv); #define cv_timedwait_sig(cv, mp, at) cv_timedwait(cv, mp, at) #define cv_wait_sig(cv, mp) cv_wait(cv, mp) #define cv_wait_io(cv, mp) cv_wait(cv, mp) +#define cv_timedwait_sig_hires(cv, mp, t, r, f) \ + cv_timedwait_hires(cv, mp, t, r, f) /* * Thread-specific data -- cgit v1.2.3