Home | History | Annotate | Line # | Download | only in raidframe
      1 /*	$NetBSD: rf_pqdegdags.h,v 1.4 2023/10/15 18:15:20 oster Exp $	*/
      2 /*
      3  * rf_pqdegdags.h
      4  */
      5 /*
      6  * Copyright (c) 1995 Carnegie-Mellon University.
      7  * All rights reserved.
      8  *
      9  * Author: Daniel Stodolsky
     10  *
     11  * Permission to use, copy, modify and distribute this software and
     12  * its documentation is hereby granted, provided that both the copyright
     13  * notice and this permission notice appear in all copies of the
     14  * software, derivative works or modified versions, and any portions
     15  * thereof, and that both notices appear in supporting documentation.
     16  *
     17  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
     18  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
     19  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
     20  *
     21  * Carnegie Mellon requests users of this software to return to
     22  *
     23  *  Software Distribution Coordinator  or  Software.Distribution (at) CS.CMU.EDU
     24  *  School of Computer Science
     25  *  Carnegie Mellon University
     26  *  Pittsburgh PA 15213-3890
     27  *
     28  * any improvements or extensions that they make and grant Carnegie the
     29  * rights to redistribute these changes.
     30  */
     31 /*
     32  * rf_pqdegdags.c
     33  * Degraded mode dags for double fault cases.
     34  */
     35 
     36 #ifndef _RF__RF_PQDEGDAGS_H_
     37 #define _RF__RF_PQDEGDAGS_H_
     38 
     39 #include "rf_dag.h"
     40 
     41 RF_CREATE_DAG_FUNC_DECL(rf_PQ_DoubleDegRead);
     42 void rf_PQDoubleRecoveryFunc(RF_DagNode_t * node);
     43 void rf_PQWriteDoubleRecoveryFunc(RF_DagNode_t * node);
     44 RF_CREATE_DAG_FUNC_DECL(rf_PQ_DDLargeWrite);
     45 RF_CREATE_DAG_FUNC_DECL(rf_PQ_DDSimpleSmallWrite);
     46 RF_CREATE_DAG_FUNC_DECL(rf_PQ_200_CreateWriteDAG);
     47 
     48 #endif				/* !_RF__RF_PQDEGDAGS_H_ */
     49