rf_dagffrd.h revision 1.4
11.4Soster/* $NetBSD: rf_dagffrd.h,v 1.4 2001/10/04 15:58:52 oster Exp $ */ 21.1Soster/* 31.1Soster * Copyright (c) 1995 Carnegie-Mellon University. 41.1Soster * All rights reserved. 51.1Soster * 61.1Soster * Author: Mark Holland, Daniel Stodolsky, William V. Courtright II 71.1Soster * 81.1Soster * Permission to use, copy, modify and distribute this software and 91.1Soster * its documentation is hereby granted, provided that both the copyright 101.1Soster * notice and this permission notice appear in all copies of the 111.1Soster * software, derivative works or modified versions, and any portions 121.1Soster * thereof, and that both notices appear in supporting documentation. 131.1Soster * 141.1Soster * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 151.1Soster * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 161.1Soster * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 171.1Soster * 181.1Soster * Carnegie Mellon requests users of this software to return to 191.1Soster * 201.1Soster * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 211.1Soster * School of Computer Science 221.1Soster * Carnegie Mellon University 231.1Soster * Pittsburgh PA 15213-3890 241.1Soster * 251.1Soster * any improvements or extensions that they make and grant Carnegie the 261.1Soster * rights to redistribute these changes. 271.1Soster */ 281.1Soster 291.1Soster#ifndef _RF__RF_DAGFFRD_H_ 301.1Soster#define _RF__RF_DAGFFRD_H_ 311.1Soster 321.4Soster#include <dev/raidframe/raidframevar.h> 331.1Soster 341.1Soster/* fault-free read DAG creation routines */ 351.3Sostervoid 361.3Sosterrf_CreateFaultFreeReadDAG(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap, 371.3Soster RF_DagHeader_t * dag_h, void *bp, RF_RaidAccessFlags_t flags, 381.3Soster RF_AllocListElem_t * allocList); 391.3Sostervoid 401.3Sosterrf_CreateNonredundantDAG(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap, 411.3Soster RF_DagHeader_t * dag_h, void *bp, RF_RaidAccessFlags_t flags, 421.3Soster RF_AllocListElem_t * allocList, RF_IoType_t type); 431.3Sostervoid 441.3Sosterrf_CreateMirrorIdleReadDAG(RF_Raid_t * raidPtr, 451.3Soster RF_AccessStripeMap_t * asmap, RF_DagHeader_t * dag_h, void *bp, 461.3Soster RF_RaidAccessFlags_t flags, RF_AllocListElem_t * allocList); 471.3Sostervoid 481.3Sosterrf_CreateMirrorPartitionReadDAG(RF_Raid_t * raidPtr, 491.3Soster RF_AccessStripeMap_t * asmap, RF_DagHeader_t * dag_h, void *bp, 501.3Soster RF_RaidAccessFlags_t flags, RF_AllocListElem_t * allocList); 511.1Soster 521.3Soster#endif /* !_RF__RF_DAGFFRD_H_ */ 53