diff options
author | Peter Galbavy <peter@cvs.openbsd.org> | 1999-08-03 13:56:39 +0000 |
---|---|---|
committer | Peter Galbavy <peter@cvs.openbsd.org> | 1999-08-03 13:56:39 +0000 |
commit | e4ad7ec5153f083d6c217951f62c45f7b5bef1bf (patch) | |
tree | 534f382aaaf300943319bc2085376472d570447e /sys/dev/raidframe/rf_desc.h | |
parent | 770ef6ff81279f6a89955b304db960c0cd5aa562 (diff) |
* rf_reconstruct.c: adopt nilkas' suggestion regard statics and
__inline__ - this is a proof of concept and will cover the raidframe
source as a whole over coming updates. Update namespace of function to
prefix with rf_ - comments again welcome.
* overall: rework the macros in rf_etimer.h and the resultant changes
to their use to count microseconds and not clock ticks. Restore the code
in rf_revent.c to a similar strcuture to before the previous commit,
and use the system timers to govern resource usage.
Tested with local i386/IDE and the reconstruction of a disk in my
array - performance has improved for reconstruction at no noticable
CPU cost.
Diffstat (limited to 'sys/dev/raidframe/rf_desc.h')
-rw-r--r-- | sys/dev/raidframe/rf_desc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_desc.h b/sys/dev/raidframe/rf_desc.h index b76466f298a..1a1be3ded7f 100644 --- a/sys/dev/raidframe/rf_desc.h +++ b/sys/dev/raidframe/rf_desc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_desc.h,v 1.2 1999/02/16 00:02:38 niklas Exp $ */ +/* $OpenBSD: rf_desc.h,v 1.3 1999/08/03 13:56:37 peter Exp $ */ /* $NetBSD: rf_desc.h,v 1.4 1999/02/05 00:06:09 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. @@ -54,8 +54,8 @@ struct RF_RaidReconDesc_s { */ RF_Etimer_t recon_exec_timer; RF_uint64 reconExecTimerRunning; - RF_uint64 reconExecTicks; - RF_uint64 maxReconExecTicks; + RF_uint64 reconExecuSecs; + RF_uint64 maxReconExecuSecs; #if RF_RECON_STATS > 0 RF_uint64 hsStallCount; /* head sep stall count */ |