Lines Matching refs:disk
175 * we have only one active disk
187 pr_warn("md/raid0:%s: bad disk number %d - aborting!\n",
283 /* disk_shift is first disk index used in the zone */
443 * Convert disk_index to the disk order in which it is read/written.
445 * write the disks starting at disk 3, then the read/write order would
446 * be disk 3, then 0, then 1, and then disk 2 and we want map_disk_shift()
447 * to map the disks as follows 0,1,2,3 => 1,2,3,0. So disk 0 would map
449 * that 'output' space to understand the read/write disk ordering.
468 unsigned int disk;
521 for (disk = 0; disk < zone->nb_dev; disk++) {
527 compare_disk = map_disk_shift(disk, zone->nb_dev,
549 conf->strip_zone[0].nb_dev + disk];
658 /* check slot number for a disk */
660 pr_warn("md/raid0:%s: raid5 must have missing parity disk!\n",
699 pr_warn("md/raid0:%s: Raid0 cannot takeover Raid10 with odd disk number.\n",
771 * raid5 - providing it is Raid4 layout and one disk is faulty