diff options
| author | christos <christos@NetBSD.org> | 2006-08-27 05:07:12 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-08-27 05:07:12 +0000 |
| commit | ecdff16f80ddbb2eb25ddcb32fcf635f4df0f633 (patch) | |
| tree | c28be7824bd68576c2eeeb0e061bdb3de81ef0c6 /sys/dev/raidframe/rf_reconstruct.c | |
| parent | da01e9eb57bb5f18c42052d3e99341d687be93ef (diff) | |
- use dk_lookup instead of our home-spun version.
- allow raid to be configured in a wedge
- allow wedges to be configured in a raid
- add autoconfiguration of wedges in a raid
Diffstat (limited to 'sys/dev/raidframe/rf_reconstruct.c')
| -rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index 71bf2517ee8..f231dc07871 100644 --- a/sys/dev/raidframe/rf_reconstruct.c +++ b/sys/dev/raidframe/rf_reconstruct.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconstruct.c,v 1.92 2006/07/21 16:48:52 ad Exp $ */ +/* $NetBSD: rf_reconstruct.c,v 1.93 2006/08/27 05:07:13 christos Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ ************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.92 2006/07/21 16:48:52 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.93 2006/08/27 05:07:13 christos Exp $"); #include <sys/time.h> #include <sys/buf.h> @@ -438,10 +438,10 @@ rf_ReconstructInPlace(RF_Raid_t *raidPtr, RF_RowCol_t col) raidPtr->Disks[col].devname); #endif RF_UNLOCK_MUTEX(raidPtr->mutex); - retcode = raidlookup(raidPtr->Disks[col].devname, lwp, &vp); + retcode = dk_lookup(raidPtr->Disks[col].devname, lwp, &vp); if (retcode) { - printf("raid%d: rebuilding: raidlookup on device: %s failed: %d!\n",raidPtr->raidid, + printf("raid%d: rebuilding: dk_lookup on device: %s failed: %d!\n",raidPtr->raidid, raidPtr->Disks[col].devname, retcode); /* the component isn't responding properly... |
