diff options
author | Chunwei Chen <[email protected]> | 2016-05-11 16:55:48 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-05-12 14:56:47 -0700 |
commit | a9bb2b682785d48b4bcdaca9d382fc87bbf6e2fb (patch) | |
tree | abb618cdfc8511a57008800df59a26fd5613ae15 /module | |
parent | d402c18dd60124525b253b27c5018f54a030928d (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 'module')
-rw-r--r-- | module/zfs/arc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |