From ecdff16f80ddbb2eb25ddcb32fcf635f4df0f633 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 27 Aug 2006 05:07:12 +0000 Subject: - 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 --- sys/dev/raidframe/rf_reconstruct.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/raidframe/rf_reconstruct.c') 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 -__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 #include @@ -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... -- cgit ze='10' name='q' value=''/>