Module Name: src
Committed By: haad
Date: Thu May 6 22:31:46 UTC 2010
Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c
Log Message:
Fix difference btween solaris cv_timedwait and NetBSD one. NetBSD takes
offset from current time and solaris exact time from unix born.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.7 src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.8
--- src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.7 Sat Apr 3 19:01:15 2010
+++ src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c Thu May 6 22:31:46 2010
@@ -4487,7 +4487,7 @@
(void) cv_timedwait(&l2arc_feed_thr_cv, &l2arc_feed_thr_lock,
(hz * l2arc_feed_secs));
CALLB_CPR_SAFE_END(&cpr, &l2arc_feed_thr_lock);
- next = ddi_get_lbolt() + hz;
+ next = ddi_get_lbolt();
/*
* Quick check for L2ARC devices.