summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_raid1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/raidframe/rf_raid1.c')
-rw-r--r--sys/dev/raidframe/rf_raid1.c192
1 files changed, 1 insertions, 191 deletions
diff --git a/sys/dev/raidframe/rf_raid1.c b/sys/dev/raidframe/rf_raid1.c
index 01d48eee0e8..f5a53407a5f 100644
--- a/sys/dev/raidframe/rf_raid1.c
+++ b/sys/dev/raidframe/rf_raid1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_raid1.c,v 1.1 1998/11/13 04:20:33 oster Exp $ */
+/* $NetBSD: rf_raid1.c,v 1.2 1999/01/26 02:34:00 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -32,196 +32,6 @@
*
*****************************************************************************/
-/*
- * :
- * Log: rf_raid1.c,v
- * Revision 1.46 1996/11/05 21:10:40 jimz
- * failed pda generalization
- *
- * Revision 1.45 1996/07/31 16:56:18 jimz
- * dataBytesPerStripe, sectorsPerDisk init arch-indep.
- *
- * Revision 1.44 1996/07/30 03:06:43 jimz
- * get rid of extra rf_threadid.h include
- *
- * Revision 1.43 1996/07/27 23:36:08 jimz
- * Solaris port of simulator
- *
- * Revision 1.42 1996/07/22 19:52:16 jimz
- * switched node params to RF_DagParam_t, a union of
- * a 64-bit int and a void *, for better portability
- * attempted hpux port, but failed partway through for
- * lack of a single C compiler capable of compiling all
- * source files
- *
- * Revision 1.41 1996/07/18 22:57:14 jimz
- * port simulator to AIX
- *
- * Revision 1.40 1996/07/17 14:31:19 jimz
- * minor cleanup for readability
- *
- * Revision 1.39 1996/07/15 17:22:18 jimz
- * nit-pick code cleanup
- * resolve stdlib problems on DEC OSF
- *
- * Revision 1.38 1996/07/15 02:56:31 jimz
- * fixed dag selection to deal with failed + recon to spare disks
- * enhanced recon, parity check debugging
- *
- * Revision 1.37 1996/07/13 00:00:59 jimz
- * sanitized generalized reconstruction architecture
- * cleaned up head sep, rbuf problems
- *
- * Revision 1.36 1996/07/11 19:08:00 jimz
- * generalize reconstruction mechanism
- * allow raid1 reconstructs via copyback (done with array
- * quiesced, not online, therefore not disk-directed)
- *
- * Revision 1.35 1996/07/10 23:01:24 jimz
- * Better commenting of VerifyParity (for posterity)
- *
- * Revision 1.34 1996/07/10 22:29:45 jimz
- * VerifyParityRAID1: corrected return values for stripes in degraded mode
- *
- * Revision 1.33 1996/07/10 16:05:39 jimz
- * fixed a couple minor bugs in VerifyParityRAID1
- * added code to correct bad RAID1 parity
- *
- * Revision 1.32 1996/06/20 18:47:04 jimz
- * fix up verification bugs
- *
- * Revision 1.31 1996/06/20 15:38:59 jimz
- * added parity verification
- * can't correct bad parity yet, but can return pass/fail
- *
- * Revision 1.30 1996/06/19 22:23:01 jimz
- * parity verification is now a layout-configurable thing
- * not all layouts currently support it (correctly, anyway)
- *
- * Revision 1.29 1996/06/11 08:54:27 jimz
- * improved error-checking at configuration time
- *
- * Revision 1.28 1996/06/10 18:25:24 wvcii
- * fixed bug in rf_IdentifyStripeRAID1 - added array initialization
- *
- * Revision 1.27 1996/06/10 11:55:47 jimz
- * Straightened out some per-array/not-per-array distinctions, fixed
- * a couple bugs related to confusion. Added shutdown lists. Removed
- * layout shutdown function (now subsumed by shutdown lists).
- *
- * Revision 1.26 1996/06/07 22:26:27 jimz
- * type-ify which_ru (RF_ReconUnitNum_t)
- *
- * Revision 1.25 1996/06/07 21:33:04 jimz
- * begin using consistent types for sector numbers,
- * stripe numbers, row+col numbers, recon unit numbers
- *
- * Revision 1.24 1996/06/06 17:29:43 jimz
- * use CreateMirrorIdleReadDAG for mirrored read
- *
- * Revision 1.23 1996/06/03 23:28:26 jimz
- * more bugfixes
- * check in tree to sync for IPDS runs with current bugfixes
- * there still may be a problem with threads in the script test
- * getting I/Os stuck- not trivially reproducible (runs ~50 times
- * in a row without getting stuck)
- *
- * Revision 1.22 1996/06/02 17:31:48 jimz
- * Moved a lot of global stuff into array structure, where it belongs.
- * Fixed up paritylogging, pss modules in this manner. Some general
- * code cleanup. Removed lots of dead code, some dead files.
- *
- * Revision 1.21 1996/05/31 22:26:54 jimz
- * fix a lot of mapping problems, memory allocation problems
- * found some weird lock issues, fixed 'em
- * more code cleanup
- *
- * Revision 1.20 1996/05/30 23:22:16 jimz
- * bugfixes of serialization, timing problems
- * more cleanup
- *
- * Revision 1.19 1996/05/30 11:29:41 jimz
- * Numerous bug fixes. Stripe lock release code disagreed with the taking code
- * about when stripes should be locked (I made it consistent: no parity, no lock)
- * There was a lot of extra serialization of I/Os which I've removed- a lot of
- * it was to calculate values for the cache code, which is no longer with us.
- * More types, function, macro cleanup. Added code to properly quiesce the array
- * on shutdown. Made a lot of stuff array-specific which was (bogusly) general
- * before. Fixed memory allocation, freeing bugs.
- *
- * Revision 1.18 1996/05/27 18:56:37 jimz
- * more code cleanup
- * better typing
- * compiles in all 3 environments
- *
- * Revision 1.17 1996/05/24 22:17:04 jimz
- * continue code + namespace cleanup
- * typed a bunch of flags
- *
- * Revision 1.16 1996/05/24 04:28:55 jimz
- * release cleanup ckpt
- *
- * Revision 1.15 1996/05/24 01:59:45 jimz
- * another checkpoint in code cleanup for release
- * time to sync kernel tree
- *
- * Revision 1.14 1996/05/18 19:51:34 jimz
- * major code cleanup- fix syntax, make some types consistent,
- * add prototypes, clean out dead code, et cetera
- *
- * Revision 1.13 1996/05/03 19:36:22 wvcii
- * moved dag creation routines to dag library
- *
- * Revision 1.12 1996/02/23 01:38:16 amiri
- * removed chained declustering special case in SelectIdleDisk
- *
- * Revision 1.11 1996/02/22 16:47:18 amiri
- * disabled shortest queue optimization for chained declustering
- *
- * Revision 1.10 1995/12/12 18:10:06 jimz
- * MIN -> RF_MIN, MAX -> RF_MAX, ASSERT -> RF_ASSERT
- * fix 80-column brain damage in comments
- *
- * Revision 1.9 1995/12/04 19:21:28 wvcii
- * modified SelectIdleDisk to take a mirror node as a parameter and
- * conditionally swap params 0 (data pda) and 4 (mirror pda).
- * modified CreateRaidOneReadDAG so that it creates the DAG itself
- * as opposed to reusing code in CreateNonredundantDAG.
- *
- * Revision 1.8 1995/11/30 16:07:45 wvcii
- * added copyright info
- *
- * Revision 1.7 1995/11/16 14:46:18 wvcii
- * fixed bugs in mapping and degraded dag creation, added comments
- *
- * Revision 1.6 1995/11/14 22:29:16 wvcii
- * fixed bugs in dag creation
- *
- * Revision 1.5 1995/11/07 15:23:33 wvcii
- * changed RAID1DagSelect prototype
- * function no longer generates numHdrSucc, numTermAnt
- * changed dag creation routines:
- * term node generated during dag creation
- * encoded commit nodes, barrier, antecedent types
- *
- * Revision 1.4 1995/10/10 19:09:21 wvcii
- * write dag now handles non-aligned accesses
- *
- * Revision 1.3 1995/10/05 02:32:56 jimz
- * ifdef'd out queue locking for load balancing
- *
- * Revision 1.2 1995/10/04 07:04:40 wvcii
- * reads are now scheduled according to disk queue length.
- * queue length is the sum of number of ios queued in raidframe as well as those at the disk.
- * reads are sent to the disk with the shortest queue.
- * testing against user disks successful, sim & kernel untested.
- *
- * Revision 1.1 1995/10/04 03:53:23 wvcii
- * Initial revision
- *
- *
- */
-
#include "rf_raid.h"
#include "rf_raid1.h"
#include "rf_dag.h"