2 /* $NetBSD: rf_pqdegdags.h,v 1.3 1999/02/05 00:06:15 oster Exp $ */
7 * Copyright (c) 1995 Carnegie-Mellon University.
10 * Author: Daniel Stodolsky
12 * Permission to use, copy, modify and distribute this software and
13 * its documentation is hereby granted, provided that both the copyright
14 * notice and this permission notice appear in all copies of the
15 * software, derivative works or modified versions, and any portions
16 * thereof, and that both notices appear in supporting documentation.
18 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
19 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
20 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
22 * Carnegie Mellon requests users of this software to return to
24 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
25 * School of Computer Science
26 * Carnegie Mellon University
27 * Pittsburgh PA 15213-3890
29 * any improvements or extensions that they make and grant Carnegie the
30 * rights to redistribute these changes.
34 * Degraded mode dags for double fault cases.
37 #ifndef _RF__RF_PQDEGDAGS_H_
38 #define _RF__RF_PQDEGDAGS_H_
40 #include <dev/raidframe/rf_dag.h>
42 RF_CREATE_DAG_FUNC_DECL(rf_PQ_DoubleDegRead);
43 int rf_PQDoubleRecoveryFunc(RF_DagNode_t * node);
44 int rf_PQWriteDoubleRecoveryFunc(RF_DagNode_t * node);
45 RF_CREATE_DAG_FUNC_DECL(rf_PQ_DDLargeWrite);
46 RF_CREATE_DAG_FUNC_DECL(rf_PQ_DDSimpleSmallWrite);
47 RF_CREATE_DAG_FUNC_DECL(rf_PQ_200_CreateWriteDAG);
49 #endif /* !_RF__RF_PQDEGDAGS_H_ */