diff options
author | Brian Behlendorf <[email protected]> | 2015-06-11 10:47:19 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-11 10:50:47 -0700 |
commit | b64ccd6c52cfb34d7b92715baef5ebd9305de6d1 (patch) | |
tree | 53e9b9805dba7496214ef20acca5736b2952cdef /module/zfs/arc.c | |
parent | 06358ea16e2ff256acc6376c71539f7211851404 (diff) |
Rename cv_wait_interruptible() to cv_wait_sig()
This is the counterpart to zfsonlinux/spl@2345368 which replaces the
cv_wait_interruptible() function with cv_wait_sig(). There is no
functional change to patch merely brings the function names in to
sync to maximize portability.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #3450
Issue #3402
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r-- | module/zfs/arc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 805e7b59f..014c7c4f4 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -3077,7 +3077,7 @@ arc_adapt_thread(void) /* block until needed, or one second, whichever is shorter */ CALLB_CPR_SAFE_BEGIN(&cpr); - (void) cv_timedwait_interruptible(&arc_reclaim_thread_cv, + (void) cv_timedwait_sig(&arc_reclaim_thread_cv, &arc_reclaim_lock, (ddi_get_lbolt() + hz)); CALLB_CPR_SAFE_END(&cpr, &arc_reclaim_lock); @@ -3142,7 +3142,7 @@ arc_user_evicts_thread(void) * call the arc's kstat update function regularly). */ CALLB_CPR_SAFE_BEGIN(&cpr); - (void) cv_timedwait_interruptible(&arc_user_evicts_cv, + (void) cv_timedwait_sig(&arc_user_evicts_cv, &arc_user_evicts_lock, ddi_get_lbolt() + hz); CALLB_CPR_SAFE_END(&cpr, &arc_user_evicts_lock); } @@ -6175,7 +6175,7 @@ l2arc_feed_thread(void) cookie = spl_fstrans_mark(); while (l2arc_thread_exit == 0) { CALLB_CPR_SAFE_BEGIN(&cpr); - (void) cv_timedwait_interruptible(&l2arc_feed_thr_cv, + (void) cv_timedwait_sig(&l2arc_feed_thr_cv, &l2arc_feed_thr_lock, next); CALLB_CPR_SAFE_END(&cpr, &l2arc_feed_thr_lock); next = ddi_get_lbolt() + hz; |