]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/dev/raidframe/rf_pqdegdags.h
This commit was generated by cvs2svn to compensate for changes in r106907,
[FreeBSD/FreeBSD.git] / sys / dev / raidframe / rf_pqdegdags.h
1 /*      $FreeBSD$ */
2 /*      $NetBSD: rf_pqdegdags.h,v 1.3 1999/02/05 00:06:15 oster Exp $   */
3 /*
4  * rf_pqdegdags.h
5  */
6 /*
7  * Copyright (c) 1995 Carnegie-Mellon University.
8  * All rights reserved.
9  *
10  * Author: Daniel Stodolsky
11  *
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.
17  *
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.
21  *
22  * Carnegie Mellon requests users of this software to return to
23  *
24  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
25  *  School of Computer Science
26  *  Carnegie Mellon University
27  *  Pittsburgh PA 15213-3890
28  *
29  * any improvements or extensions that they make and grant Carnegie the
30  * rights to redistribute these changes.
31  */
32 /*
33  * rf_pqdegdags.c
34  * Degraded mode dags for double fault cases.
35  */
36
37 #ifndef _RF__RF_PQDEGDAGS_H_
38 #define _RF__RF_PQDEGDAGS_H_
39
40 #include <dev/raidframe/rf_dag.h>
41
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);
48
49 #endif                          /* !_RF__RF_PQDEGDAGS_H_ */