rf_dagffrd.c revision 1.4.8.3 1 1.4.8.3 jdolecek /* $NetBSD: rf_dagffrd.c,v 1.4.8.3 2002/10/10 18:41:44 jdolecek Exp $ */
2 1.1 oster /*
3 1.1 oster * Copyright (c) 1995 Carnegie-Mellon University.
4 1.1 oster * All rights reserved.
5 1.1 oster *
6 1.1 oster * Author: Mark Holland, Daniel Stodolsky, William V. Courtright II
7 1.1 oster *
8 1.1 oster * Permission to use, copy, modify and distribute this software and
9 1.1 oster * its documentation is hereby granted, provided that both the copyright
10 1.1 oster * notice and this permission notice appear in all copies of the
11 1.1 oster * software, derivative works or modified versions, and any portions
12 1.1 oster * thereof, and that both notices appear in supporting documentation.
13 1.1 oster *
14 1.1 oster * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
15 1.1 oster * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
16 1.1 oster * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
17 1.1 oster *
18 1.1 oster * Carnegie Mellon requests users of this software to return to
19 1.1 oster *
20 1.1 oster * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU
21 1.1 oster * School of Computer Science
22 1.1 oster * Carnegie Mellon University
23 1.1 oster * Pittsburgh PA 15213-3890
24 1.1 oster *
25 1.1 oster * any improvements or extensions that they make and grant Carnegie the
26 1.1 oster * rights to redistribute these changes.
27 1.1 oster */
28 1.1 oster
29 1.1 oster /*
30 1.1 oster * rf_dagffrd.c
31 1.1 oster *
32 1.1 oster * code for creating fault-free read DAGs
33 1.1 oster *
34 1.1 oster */
35 1.1 oster
36 1.4.8.1 thorpej #include <sys/cdefs.h>
37 1.4.8.3 jdolecek __KERNEL_RCSID(0, "$NetBSD: rf_dagffrd.c,v 1.4.8.3 2002/10/10 18:41:44 jdolecek Exp $");
38 1.4.8.1 thorpej
39 1.4.8.1 thorpej #include <dev/raidframe/raidframevar.h>
40 1.4.8.1 thorpej
41 1.1 oster #include "rf_raid.h"
42 1.1 oster #include "rf_dag.h"
43 1.1 oster #include "rf_dagutils.h"
44 1.1 oster #include "rf_dagfuncs.h"
45 1.1 oster #include "rf_debugMem.h"
46 1.1 oster #include "rf_general.h"
47 1.1 oster #include "rf_dagffrd.h"
48 1.1 oster
49 1.1 oster /******************************************************************************
50 1.1 oster *
51 1.1 oster * General comments on DAG creation:
52 1.3 oster *
53 1.1 oster * All DAGs in this file use roll-away error recovery. Each DAG has a single
54 1.1 oster * commit node, usually called "Cmt." If an error occurs before the Cmt node
55 1.1 oster * is reached, the execution engine will halt forward execution and work
56 1.1 oster * backward through the graph, executing the undo functions. Assuming that
57 1.1 oster * each node in the graph prior to the Cmt node are undoable and atomic - or -
58 1.1 oster * does not make changes to permanent state, the graph will fail atomically.
59 1.1 oster * If an error occurs after the Cmt node executes, the engine will roll-forward
60 1.1 oster * through the graph, blindly executing nodes until it reaches the end.
61 1.1 oster * If a graph reaches the end, it is assumed to have completed successfully.
62 1.1 oster *
63 1.1 oster * A graph has only 1 Cmt node.
64 1.1 oster *
65 1.1 oster */
66 1.1 oster
67 1.1 oster
68 1.1 oster /******************************************************************************
69 1.1 oster *
70 1.1 oster * The following wrappers map the standard DAG creation interface to the
71 1.1 oster * DAG creation routines. Additionally, these wrappers enable experimentation
72 1.1 oster * with new DAG structures by providing an extra level of indirection, allowing
73 1.1 oster * the DAG creation routines to be replaced at this single point.
74 1.1 oster */
75 1.1 oster
76 1.3 oster void
77 1.3 oster rf_CreateFaultFreeReadDAG(
78 1.3 oster RF_Raid_t * raidPtr,
79 1.3 oster RF_AccessStripeMap_t * asmap,
80 1.3 oster RF_DagHeader_t * dag_h,
81 1.3 oster void *bp,
82 1.3 oster RF_RaidAccessFlags_t flags,
83 1.3 oster RF_AllocListElem_t * allocList)
84 1.1 oster {
85 1.3 oster rf_CreateNonredundantDAG(raidPtr, asmap, dag_h, bp, flags, allocList,
86 1.3 oster RF_IO_TYPE_READ);
87 1.1 oster }
88 1.1 oster
89 1.1 oster
90 1.1 oster /******************************************************************************
91 1.1 oster *
92 1.1 oster * DAG creation code begins here
93 1.1 oster */
94 1.1 oster
95 1.1 oster /******************************************************************************
96 1.1 oster *
97 1.1 oster * creates a DAG to perform a nonredundant read or write of data within one
98 1.1 oster * stripe.
99 1.1 oster * For reads, this DAG is as follows:
100 1.1 oster *
101 1.3 oster * /---- read ----\
102 1.1 oster * Header -- Block ---- read ---- Commit -- Terminate
103 1.1 oster * \---- read ----/
104 1.1 oster *
105 1.1 oster * For writes, this DAG is as follows:
106 1.1 oster *
107 1.3 oster * /---- write ----\
108 1.1 oster * Header -- Commit ---- write ---- Block -- Terminate
109 1.1 oster * \---- write ----/
110 1.1 oster *
111 1.1 oster * There is one disk node per stripe unit accessed, and all disk nodes are in
112 1.1 oster * parallel.
113 1.1 oster *
114 1.1 oster * Tricky point here: The first disk node (read or write) is created
115 1.1 oster * normally. Subsequent disk nodes are created by copying the first one,
116 1.1 oster * and modifying a few params. The "succedents" and "antecedents" fields are
117 1.1 oster * _not_ re-created in each node, but rather left pointing to the same array
118 1.1 oster * that was malloc'd when the first node was created. Thus, it's essential
119 1.1 oster * that when this DAG is freed, the succedents and antecedents fields be freed
120 1.1 oster * in ONLY ONE of the read nodes. This does not apply to the "params" field
121 1.1 oster * because it is recreated for each READ node.
122 1.1 oster *
123 1.1 oster * Note that normal-priority accesses do not need to be tagged with their
124 1.1 oster * parity stripe ID, because they will never be promoted. Hence, I've
125 1.1 oster * commented-out the code to do this, and marked it with UNNEEDED.
126 1.1 oster *
127 1.1 oster *****************************************************************************/
128 1.1 oster
129 1.3 oster void
130 1.3 oster rf_CreateNonredundantDAG(
131 1.3 oster RF_Raid_t * raidPtr,
132 1.3 oster RF_AccessStripeMap_t * asmap,
133 1.3 oster RF_DagHeader_t * dag_h,
134 1.3 oster void *bp,
135 1.3 oster RF_RaidAccessFlags_t flags,
136 1.3 oster RF_AllocListElem_t * allocList,
137 1.3 oster RF_IoType_t type)
138 1.1 oster {
139 1.3 oster RF_DagNode_t *nodes, *diskNodes, *blockNode, *commitNode, *termNode;
140 1.3 oster RF_PhysDiskAddr_t *pda = asmap->physInfo;
141 1.3 oster int (*doFunc) (RF_DagNode_t *), (*undoFunc) (RF_DagNode_t *);
142 1.3 oster int i, n, totalNumNodes;
143 1.3 oster char *name;
144 1.3 oster
145 1.3 oster n = asmap->numStripeUnitsAccessed;
146 1.3 oster dag_h->creator = "NonredundantDAG";
147 1.3 oster
148 1.3 oster RF_ASSERT(RF_IO_IS_R_OR_W(type));
149 1.3 oster switch (type) {
150 1.3 oster case RF_IO_TYPE_READ:
151 1.3 oster doFunc = rf_DiskReadFunc;
152 1.3 oster undoFunc = rf_DiskReadUndoFunc;
153 1.3 oster name = "R ";
154 1.3 oster if (rf_dagDebug)
155 1.3 oster printf("[Creating non-redundant read DAG]\n");
156 1.3 oster break;
157 1.3 oster case RF_IO_TYPE_WRITE:
158 1.3 oster doFunc = rf_DiskWriteFunc;
159 1.3 oster undoFunc = rf_DiskWriteUndoFunc;
160 1.3 oster name = "W ";
161 1.3 oster if (rf_dagDebug)
162 1.3 oster printf("[Creating non-redundant write DAG]\n");
163 1.3 oster break;
164 1.3 oster default:
165 1.3 oster RF_PANIC();
166 1.3 oster }
167 1.3 oster
168 1.3 oster /*
169 1.3 oster * For reads, the dag can not commit until the block node is reached.
170 1.3 oster * for writes, the dag commits immediately.
171 1.3 oster */
172 1.3 oster dag_h->numCommitNodes = 1;
173 1.3 oster dag_h->numCommits = 0;
174 1.3 oster dag_h->numSuccedents = 1;
175 1.3 oster
176 1.3 oster /*
177 1.3 oster * Node count:
178 1.3 oster * 1 block node
179 1.3 oster * n data reads (or writes)
180 1.3 oster * 1 commit node
181 1.3 oster * 1 terminator node
182 1.3 oster */
183 1.3 oster RF_ASSERT(n > 0);
184 1.3 oster totalNumNodes = n + 3;
185 1.3 oster RF_CallocAndAdd(nodes, totalNumNodes, sizeof(RF_DagNode_t),
186 1.3 oster (RF_DagNode_t *), allocList);
187 1.3 oster i = 0;
188 1.3 oster diskNodes = &nodes[i];
189 1.3 oster i += n;
190 1.3 oster blockNode = &nodes[i];
191 1.3 oster i += 1;
192 1.3 oster commitNode = &nodes[i];
193 1.3 oster i += 1;
194 1.3 oster termNode = &nodes[i];
195 1.3 oster i += 1;
196 1.3 oster RF_ASSERT(i == totalNumNodes);
197 1.3 oster
198 1.3 oster /* initialize nodes */
199 1.3 oster switch (type) {
200 1.3 oster case RF_IO_TYPE_READ:
201 1.3 oster rf_InitNode(blockNode, rf_wait, RF_FALSE, rf_NullNodeFunc, rf_NullNodeUndoFunc,
202 1.3 oster NULL, n, 0, 0, 0, dag_h, "Nil", allocList);
203 1.3 oster rf_InitNode(commitNode, rf_wait, RF_TRUE, rf_NullNodeFunc, rf_NullNodeUndoFunc,
204 1.3 oster NULL, 1, n, 0, 0, dag_h, "Cmt", allocList);
205 1.3 oster rf_InitNode(termNode, rf_wait, RF_FALSE, rf_TerminateFunc, rf_TerminateUndoFunc,
206 1.3 oster NULL, 0, 1, 0, 0, dag_h, "Trm", allocList);
207 1.3 oster break;
208 1.3 oster case RF_IO_TYPE_WRITE:
209 1.3 oster rf_InitNode(blockNode, rf_wait, RF_FALSE, rf_NullNodeFunc, rf_NullNodeUndoFunc,
210 1.3 oster NULL, 1, 0, 0, 0, dag_h, "Nil", allocList);
211 1.3 oster rf_InitNode(commitNode, rf_wait, RF_TRUE, rf_NullNodeFunc, rf_NullNodeUndoFunc,
212 1.3 oster NULL, n, 1, 0, 0, dag_h, "Cmt", allocList);
213 1.3 oster rf_InitNode(termNode, rf_wait, RF_FALSE, rf_TerminateFunc, rf_TerminateUndoFunc,
214 1.3 oster NULL, 0, n, 0, 0, dag_h, "Trm", allocList);
215 1.3 oster break;
216 1.3 oster default:
217 1.3 oster RF_PANIC();
218 1.3 oster }
219 1.3 oster
220 1.3 oster for (i = 0; i < n; i++) {
221 1.3 oster RF_ASSERT(pda != NULL);
222 1.3 oster rf_InitNode(&diskNodes[i], rf_wait, RF_FALSE, doFunc, undoFunc, rf_GenericWakeupFunc,
223 1.3 oster 1, 1, 4, 0, dag_h, name, allocList);
224 1.3 oster diskNodes[i].params[0].p = pda;
225 1.3 oster diskNodes[i].params[1].p = pda->bufPtr;
226 1.3 oster /* parity stripe id is not necessary */
227 1.3 oster diskNodes[i].params[2].v = 0;
228 1.3 oster diskNodes[i].params[3].v = RF_CREATE_PARAM3(RF_IO_NORMAL_PRIORITY, 0, 0, 0);
229 1.3 oster pda = pda->next;
230 1.3 oster }
231 1.3 oster
232 1.3 oster /*
233 1.3 oster * Connect nodes.
234 1.3 oster */
235 1.3 oster
236 1.3 oster /* connect hdr to block node */
237 1.3 oster RF_ASSERT(blockNode->numAntecedents == 0);
238 1.3 oster dag_h->succedents[0] = blockNode;
239 1.3 oster
240 1.3 oster if (type == RF_IO_TYPE_READ) {
241 1.3 oster /* connecting a nonredundant read DAG */
242 1.3 oster RF_ASSERT(blockNode->numSuccedents == n);
243 1.3 oster RF_ASSERT(commitNode->numAntecedents == n);
244 1.3 oster for (i = 0; i < n; i++) {
245 1.3 oster /* connect block node to each read node */
246 1.3 oster RF_ASSERT(diskNodes[i].numAntecedents == 1);
247 1.3 oster blockNode->succedents[i] = &diskNodes[i];
248 1.3 oster diskNodes[i].antecedents[0] = blockNode;
249 1.3 oster diskNodes[i].antType[0] = rf_control;
250 1.3 oster
251 1.3 oster /* connect each read node to the commit node */
252 1.3 oster RF_ASSERT(diskNodes[i].numSuccedents == 1);
253 1.3 oster diskNodes[i].succedents[0] = commitNode;
254 1.3 oster commitNode->antecedents[i] = &diskNodes[i];
255 1.3 oster commitNode->antType[i] = rf_control;
256 1.3 oster }
257 1.3 oster /* connect the commit node to the term node */
258 1.3 oster RF_ASSERT(commitNode->numSuccedents == 1);
259 1.3 oster RF_ASSERT(termNode->numAntecedents == 1);
260 1.3 oster RF_ASSERT(termNode->numSuccedents == 0);
261 1.3 oster commitNode->succedents[0] = termNode;
262 1.3 oster termNode->antecedents[0] = commitNode;
263 1.3 oster termNode->antType[0] = rf_control;
264 1.3 oster } else {
265 1.3 oster /* connecting a nonredundant write DAG */
266 1.3 oster /* connect the block node to the commit node */
267 1.3 oster RF_ASSERT(blockNode->numSuccedents == 1);
268 1.3 oster RF_ASSERT(commitNode->numAntecedents == 1);
269 1.3 oster blockNode->succedents[0] = commitNode;
270 1.3 oster commitNode->antecedents[0] = blockNode;
271 1.3 oster commitNode->antType[0] = rf_control;
272 1.3 oster
273 1.3 oster RF_ASSERT(commitNode->numSuccedents == n);
274 1.3 oster RF_ASSERT(termNode->numAntecedents == n);
275 1.3 oster RF_ASSERT(termNode->numSuccedents == 0);
276 1.3 oster for (i = 0; i < n; i++) {
277 1.3 oster /* connect the commit node to each write node */
278 1.3 oster RF_ASSERT(diskNodes[i].numAntecedents == 1);
279 1.3 oster commitNode->succedents[i] = &diskNodes[i];
280 1.3 oster diskNodes[i].antecedents[0] = commitNode;
281 1.3 oster diskNodes[i].antType[0] = rf_control;
282 1.3 oster
283 1.3 oster /* connect each write node to the term node */
284 1.3 oster RF_ASSERT(diskNodes[i].numSuccedents == 1);
285 1.3 oster diskNodes[i].succedents[0] = termNode;
286 1.3 oster termNode->antecedents[i] = &diskNodes[i];
287 1.3 oster termNode->antType[i] = rf_control;
288 1.3 oster }
289 1.3 oster }
290 1.1 oster }
291 1.1 oster /******************************************************************************
292 1.1 oster * Create a fault-free read DAG for RAID level 1
293 1.1 oster *
294 1.1 oster * Hdr -> Nil -> Rmir -> Cmt -> Trm
295 1.1 oster *
296 1.1 oster * The "Rmir" node schedules a read from the disk in the mirror pair with the
297 1.1 oster * shortest disk queue. the proper queue is selected at Rmir execution. this
298 1.1 oster * deferred mapping is unlike other archs in RAIDframe which generally fix
299 1.1 oster * mapping at DAG creation time.
300 1.1 oster *
301 1.1 oster * Parameters: raidPtr - description of the physical array
302 1.1 oster * asmap - logical & physical addresses for this access
303 1.1 oster * bp - buffer ptr (for holding read data)
304 1.3 oster * flags - general flags (e.g. disk locking)
305 1.1 oster * allocList - list of memory allocated in DAG creation
306 1.1 oster *****************************************************************************/
307 1.1 oster
308 1.3 oster static void
309 1.3 oster CreateMirrorReadDAG(
310 1.3 oster RF_Raid_t * raidPtr,
311 1.3 oster RF_AccessStripeMap_t * asmap,
312 1.3 oster RF_DagHeader_t * dag_h,
313 1.3 oster void *bp,
314 1.3 oster RF_RaidAccessFlags_t flags,
315 1.3 oster RF_AllocListElem_t * allocList,
316 1.3 oster int (*readfunc) (RF_DagNode_t * node))
317 1.1 oster {
318 1.3 oster RF_DagNode_t *readNodes, *nodes, *blockNode, *commitNode, *termNode;
319 1.3 oster RF_PhysDiskAddr_t *data_pda = asmap->physInfo;
320 1.3 oster RF_PhysDiskAddr_t *parity_pda = asmap->parityInfo;
321 1.3 oster int i, n, totalNumNodes;
322 1.3 oster
323 1.3 oster n = asmap->numStripeUnitsAccessed;
324 1.3 oster dag_h->creator = "RaidOneReadDAG";
325 1.3 oster if (rf_dagDebug) {
326 1.3 oster printf("[Creating RAID level 1 read DAG]\n");
327 1.3 oster }
328 1.3 oster /*
329 1.3 oster * This dag can not commit until the commit node is reached
330 1.3 oster * errors prior to the commit point imply the dag has failed.
331 1.3 oster */
332 1.3 oster dag_h->numCommitNodes = 1;
333 1.3 oster dag_h->numCommits = 0;
334 1.3 oster dag_h->numSuccedents = 1;
335 1.3 oster
336 1.3 oster /*
337 1.3 oster * Node count:
338 1.3 oster * n data reads
339 1.3 oster * 1 block node
340 1.3 oster * 1 commit node
341 1.3 oster * 1 terminator node
342 1.3 oster */
343 1.3 oster RF_ASSERT(n > 0);
344 1.3 oster totalNumNodes = n + 3;
345 1.3 oster RF_CallocAndAdd(nodes, totalNumNodes, sizeof(RF_DagNode_t),
346 1.3 oster (RF_DagNode_t *), allocList);
347 1.3 oster i = 0;
348 1.3 oster readNodes = &nodes[i];
349 1.3 oster i += n;
350 1.3 oster blockNode = &nodes[i];
351 1.3 oster i += 1;
352 1.3 oster commitNode = &nodes[i];
353 1.3 oster i += 1;
354 1.3 oster termNode = &nodes[i];
355 1.3 oster i += 1;
356 1.3 oster RF_ASSERT(i == totalNumNodes);
357 1.3 oster
358 1.3 oster /* initialize nodes */
359 1.3 oster rf_InitNode(blockNode, rf_wait, RF_FALSE, rf_NullNodeFunc,
360 1.3 oster rf_NullNodeUndoFunc, NULL, n, 0, 0, 0, dag_h, "Nil", allocList);
361 1.3 oster rf_InitNode(commitNode, rf_wait, RF_TRUE, rf_NullNodeFunc,
362 1.3 oster rf_NullNodeUndoFunc, NULL, 1, n, 0, 0, dag_h, "Cmt", allocList);
363 1.3 oster rf_InitNode(termNode, rf_wait, RF_FALSE, rf_TerminateFunc,
364 1.3 oster rf_TerminateUndoFunc, NULL, 0, 1, 0, 0, dag_h, "Trm", allocList);
365 1.3 oster
366 1.3 oster for (i = 0; i < n; i++) {
367 1.3 oster RF_ASSERT(data_pda != NULL);
368 1.3 oster RF_ASSERT(parity_pda != NULL);
369 1.3 oster rf_InitNode(&readNodes[i], rf_wait, RF_FALSE, readfunc,
370 1.3 oster rf_DiskReadMirrorUndoFunc, rf_GenericWakeupFunc, 1, 1, 5, 0, dag_h,
371 1.3 oster "Rmir", allocList);
372 1.3 oster readNodes[i].params[0].p = data_pda;
373 1.3 oster readNodes[i].params[1].p = data_pda->bufPtr;
374 1.3 oster /* parity stripe id is not necessary */
375 1.3 oster readNodes[i].params[2].p = 0;
376 1.3 oster readNodes[i].params[3].v = RF_CREATE_PARAM3(RF_IO_NORMAL_PRIORITY, 0, 0, 0);
377 1.3 oster readNodes[i].params[4].p = parity_pda;
378 1.3 oster data_pda = data_pda->next;
379 1.3 oster parity_pda = parity_pda->next;
380 1.3 oster }
381 1.3 oster
382 1.3 oster /*
383 1.3 oster * Connect nodes
384 1.3 oster */
385 1.3 oster
386 1.3 oster /* connect hdr to block node */
387 1.3 oster RF_ASSERT(blockNode->numAntecedents == 0);
388 1.3 oster dag_h->succedents[0] = blockNode;
389 1.3 oster
390 1.3 oster /* connect block node to read nodes */
391 1.3 oster RF_ASSERT(blockNode->numSuccedents == n);
392 1.3 oster for (i = 0; i < n; i++) {
393 1.3 oster RF_ASSERT(readNodes[i].numAntecedents == 1);
394 1.3 oster blockNode->succedents[i] = &readNodes[i];
395 1.3 oster readNodes[i].antecedents[0] = blockNode;
396 1.3 oster readNodes[i].antType[0] = rf_control;
397 1.3 oster }
398 1.3 oster
399 1.3 oster /* connect read nodes to commit node */
400 1.3 oster RF_ASSERT(commitNode->numAntecedents == n);
401 1.3 oster for (i = 0; i < n; i++) {
402 1.3 oster RF_ASSERT(readNodes[i].numSuccedents == 1);
403 1.3 oster readNodes[i].succedents[0] = commitNode;
404 1.3 oster commitNode->antecedents[i] = &readNodes[i];
405 1.3 oster commitNode->antType[i] = rf_control;
406 1.3 oster }
407 1.3 oster
408 1.3 oster /* connect commit node to term node */
409 1.3 oster RF_ASSERT(commitNode->numSuccedents == 1);
410 1.3 oster RF_ASSERT(termNode->numAntecedents == 1);
411 1.3 oster RF_ASSERT(termNode->numSuccedents == 0);
412 1.3 oster commitNode->succedents[0] = termNode;
413 1.3 oster termNode->antecedents[0] = commitNode;
414 1.3 oster termNode->antType[0] = rf_control;
415 1.1 oster }
416 1.1 oster
417 1.3 oster void
418 1.3 oster rf_CreateMirrorIdleReadDAG(
419 1.3 oster RF_Raid_t * raidPtr,
420 1.3 oster RF_AccessStripeMap_t * asmap,
421 1.3 oster RF_DagHeader_t * dag_h,
422 1.3 oster void *bp,
423 1.3 oster RF_RaidAccessFlags_t flags,
424 1.3 oster RF_AllocListElem_t * allocList)
425 1.1 oster {
426 1.3 oster CreateMirrorReadDAG(raidPtr, asmap, dag_h, bp, flags, allocList,
427 1.3 oster rf_DiskReadMirrorIdleFunc);
428 1.1 oster }
429 1.1 oster
430 1.4.8.3 jdolecek #if (RF_INCLUDE_CHAINDECLUSTER > 0) || (RF_INCLUDE_INTERDECLUSTER > 0)
431 1.4.8.3 jdolecek
432 1.3 oster void
433 1.3 oster rf_CreateMirrorPartitionReadDAG(
434 1.3 oster RF_Raid_t * raidPtr,
435 1.3 oster RF_AccessStripeMap_t * asmap,
436 1.3 oster RF_DagHeader_t * dag_h,
437 1.3 oster void *bp,
438 1.3 oster RF_RaidAccessFlags_t flags,
439 1.3 oster RF_AllocListElem_t * allocList)
440 1.1 oster {
441 1.3 oster CreateMirrorReadDAG(raidPtr, asmap, dag_h, bp, flags, allocList,
442 1.3 oster rf_DiskReadMirrorPartitionFunc);
443 1.1 oster }
444 1.4.8.3 jdolecek #endif
445