Lines Matching defs:disks
529 * disks. Setting the Returned bit ensures that this
783 /* At least two disks to choose from so failfast is OK */
826 * If all disks are rotational, choose the closest disk. If any disk is
829 * mixed ratation/non-rotational disks depending on workload.
844 * 2) Now that there is no resync, loop through all disks and skipping slow
845 * disks and disks with bad blocks for now. Only pay attention to key disk
848 * 3) If we've made it this far, now look for disks with bad blocks and choose
1427 int i, disks;
1483 disks = conf->raid_disks * 2;
1486 for (i = 0; i < disks; i++) {
1601 for (i = 0; i < disks; i++) {
1655 if (!raid1_add_bio_to_plug(mddev, mbio, raid1_unplug, disks)) {
1808 * Find all failed disks within the RAID1 configuration
2328 int disks = conf->raid_disks * 2;
2343 for (i = 0; i < disks ; i++) {