Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Fix difference bt...
details: https://anonhg.NetBSD.org/src/rev/cc456a86502e
branches: trunk
changeset: 754636:cc456a86502e
user: haad <haad%NetBSD.org@localhost>
date: Thu May 06 22:31:46 2010 +0000
description:
Fix difference btween solaris cv_timedwait and NetBSD one. NetBSD takes
offset from current time and solaris exact time from unix born.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/arc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 48a645e44aa0 -r cc456a86502e external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c Thu May 06 22:26:55 2010 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c Thu May 06 22:31:46 2010 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index