aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-05-11 16:55:48 -0700
committerBrian Behlendorf <[email protected]>2016-05-12 14:56:47 -0700
commita9bb2b682785d48b4bcdaca9d382fc87bbf6e2fb (patch)
treeabb618cdfc8511a57008800df59a26fd5613ae15 /include/sys
parentd402c18dd60124525b253b27c5018f54a030928d (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4633 Closes #4634
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/zfs_context.h2
1 files changed, 2 insertions, 0 deletions
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