diff options
-rw-r--r-- | include/sys/zfs_context.h | 2 | ||||
-rw-r--r-- | module/zfs/arc.c | 2 |
2 files changed, 3 insertions, 1 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 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); } |