HomeFreeBSD

Fix cv_timedwait_hires

Description

Fix cv_timedwait_hires

The user space implementation of cv_timedwait_hires() was always passing
a relative time to pthread_cond_timedwait() when an absolute time is
expected. This was accidentally introduced in commit 206971d2.

Replace two magic values with their corresponding preprocessor macro.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #5024

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 25 2016, 8:24 PM
Parents
rG9907cc1cc8c1: Add zfs_arc_meta_limit_percent tunable
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG67925abb5e12: Fix cv_timedwait_hires (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Aug 29 2016, 5:54 PM