]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/dev/raidframe/rf_dagffrd.h
This commit was generated by cvs2svn to compensate for changes in r106907,
[FreeBSD/FreeBSD.git] / sys / dev / raidframe / rf_dagffrd.h
1 /*      $FreeBSD$ */
2 /*      $NetBSD: rf_dagffrd.h,v 1.3 1999/02/05 00:06:07 oster Exp $     */
3 /*
4  * Copyright (c) 1995 Carnegie-Mellon University.
5  * All rights reserved.
6  *
7  * Author: Mark Holland, Daniel Stodolsky, William V. Courtright II
8  *
9  * Permission to use, copy, modify and distribute this software and
10  * its documentation is hereby granted, provided that both the copyright
11  * notice and this permission notice appear in all copies of the
12  * software, derivative works or modified versions, and any portions
13  * thereof, and that both notices appear in supporting documentation.
14  *
15  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
16  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
17  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
18  *
19  * Carnegie Mellon requests users of this software to return to
20  *
21  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
22  *  School of Computer Science
23  *  Carnegie Mellon University
24  *  Pittsburgh PA 15213-3890
25  *
26  * any improvements or extensions that they make and grant Carnegie the
27  * rights to redistribute these changes.
28  */
29
30 #ifndef _RF__RF_DAGFFRD_H_
31 #define _RF__RF_DAGFFRD_H_
32
33 #include <dev/raidframe/rf_types.h>
34
35 /* fault-free read DAG creation routines */
36 void 
37 rf_CreateFaultFreeReadDAG(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap,
38     RF_DagHeader_t * dag_h, void *bp, RF_RaidAccessFlags_t flags,
39     RF_AllocListElem_t * allocList);
40 void 
41 rf_CreateNonredundantDAG(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap,
42     RF_DagHeader_t * dag_h, void *bp, RF_RaidAccessFlags_t flags,
43     RF_AllocListElem_t * allocList, RF_IoType_t type);
44 void 
45 rf_CreateMirrorIdleReadDAG(RF_Raid_t * raidPtr,
46     RF_AccessStripeMap_t * asmap, RF_DagHeader_t * dag_h, void *bp,
47     RF_RaidAccessFlags_t flags, RF_AllocListElem_t * allocList);
48 void 
49 rf_CreateMirrorPartitionReadDAG(RF_Raid_t * raidPtr,
50     RF_AccessStripeMap_t * asmap, RF_DagHeader_t * dag_h, void *bp,
51     RF_RaidAccessFlags_t flags, RF_AllocListElem_t * allocList);
52
53 #endif                          /* !_RF__RF_DAGFFRD_H_ */