Lines Matching refs:raid
253 CFATTACH_DECL3_NEW(raid, sizeof(struct raid_softc),
265 * Allow RAIDOUTSTANDING number of simultaneous IO's to this RAID device.
409 * this needs to be done before we autoconfigure any raid sets,
416 /* 1. locate all RAID components on the system */
417 aprint_debug("Searching for RAID components...\n");
470 aprint_debug("raid%d includes boot device %s\n",
499 aprint_debug("raid%d: configured ok, rootable %d\n",
501 /* We added one RAID set */
518 /* We added at least one RAID set, so re-scan for recursive RAID */
529 * dk1 at wd0: "raid@wd0", 171965 blocks at 32802, type: raidframe
530 * dk3 at wd1: "raid@wd1", 171965 blocks at 32802, type: raidframz
680 aprint_debug("raid%d: configured ok, rootable %d\n",
682 /* We added one RAID set */
703 /* We added at least one RAID set, so re-scan for recursive RAID */
853 /* we only support dumping to RAID 1 sets */
1110 db1_printf(("raid is not valid..\n"));
1216 /* Can't do this on a RAID 0!! */
1302 /* There is a valid RAID set running on this unit! */
1303 printf("raid%d: Device already configured!\n", rs->sc_unit);
1362 * Clear the entire RAID descriptor, just to make sure
1374 this RAID device */
1410 printf("raid%d: Got component label:\n", raidid);
1411 printf("raid%d: Version: %d\n", raidid, clabel->version);
1412 printf("raid%d: Serial Number: %d\n", raidid, clabel->serial_number);
1413 printf("raid%d: Mod counter: %d\n", raidid, clabel->mod_counter);
1414 printf("raid%d: Column: %d\n", raidid, clabel->column);
1415 printf("raid%d: Num Columns: %d\n", raidid, clabel->num_columns);
1416 printf("raid%d: Clean: %d\n", raidid, clabel->clean);
1417 printf("raid%d: Status: %d\n", raidid, clabel->status);
1443 from the config that was used to create this RAID
1475 /* Can't do this on a RAID 0!! */
1500 printf("raid%d: Unable to reconstruct to disk at:\n",
1502 printf("raid%d: Col: %d Too many failures.\n",
1509 printf("raid%d: Unable to reconstruct to disk at:\n",
1511 printf("raid%d: Col: %d "
1542 * This makes no sense on a RAID 0, or if we are not reconstructing
1597 /* Only CONFIGURE and RESCAN can be done without the RAID being initialized. */
1649 printf("raid%d: New autoconfig value is: %d\n",
1656 printf("raid%d: New rootpartition value is: %d\n",
1665 /* Parity for RAID 0 is trivially correct */
1779 /* This makes no sense on a RAID 0, so tell the
1946 snprintf(rs->sc_xname, sizeof(rs->sc_xname), "raid%u", unit);
1957 printf("raid%d: config_attach_pseudo failed\n",
2053 printf("raid%d: raidstart not ready\n", raidPtr->raidid);
2237 /* and only if it wouldn't leave this RAID set
2245 printf("raid%d: IO Error (%d). Marking %s as failed.\n",
2582 printf("Failed to write RAID component info!\n");
2860 printf("raid%d: Error re-writing parity (%d)!\n",
3023 rf_part_found = 0; /*No raid partition as yet*/
3030 panic("RAID can't alloc vnode");
3078 rf_part_found = 1; /*There is a raid component on this disk*/
3102 rf_part_found = 0; /*No raid partitions yet*/
3106 /* We only support partitions marked as RAID */
3112 panic("RAID can't alloc vnode");
3124 * use by another RAID set.
3138 rf_part_found = 1; /*There is at least one raid partition on this disk*/
3142 *If there is no raid component on this disk, either in a
3144 *as it is possible to configure raid components on raw disk
3153 panic("RAID can't alloc vnode");
3262 printf(" RAID Level: %c blocksize: %d numBlocks: %"PRIu64"\n",
3266 printf(" Last configured as: raid%d\n", clabel->last_unit);
3450 /* special case for RAID 1, especially
3665 printf("RAID autoconfigure\n");
3672 2. Figure out what RAID ID this one is supposed to live at
3673 See if we can get the same RAID dev that it was configured
3682 printf("Configuring raid%d:\n",raidID);
3705 case 2: /* Soft Root: root when boot partition part of raid */
3733 /* Format: raid%d_foo */
3734 snprintf(w_chan, RF_MAX_POOLNAMELEN, "raid%d_%s", raidPtr->raidid, pool_name);
3745 * for a given RAID set. Returns 0 if IO is waiting and can be done, 1
3814 /* XXX raid
3864 printf("raid%d: get cache for component %s failed\n",
3899 printf("raid%d: cache flush[%d] to component %s failed (%d)\n",
4031 MODULE(MODULE_CLASS_DRIVER, raid, "dk_subr,bufq_fcfs");
4034 CFDRIVER_DECL(raid, DV_DISK, NULL);
4078 error = devsw_attach("raid", &raid_bdevsw, &bmajor,
4115 panic("Serious error activating RAID!!");
4119 * Register a finalizer which will be used to auto-config RAID
4139 /* Don't allow unload if raid device(s) exist. */