Lines Matching defs:disk

53     "Amount of the disk to rebuild each read/write cycle of the rebuild.");
61 "Fraction of the I/O bandwidth to use when disk busy for rebuild.");
173 /* Make sure we have at least one ACTIVE disk. */
177 * Critical situation! We have no any active disk!
178 * Choose the best disk we have to make it active.
229 struct g_raid_disk *disk)
232 * We don't fail the last disk in the pack, since it still has decent
233 * data on it and that's better than failing the disk if it is the root
243 g_raid_fail_disk(sc, sd, disk);
364 "No active disk to rebuild. night night.");
394 "No failed disk to rebuild. night night.");
420 * good disk and one bad disk, we don't do anything. And if there's a
421 * 'good disk' stored in the trs, then we're in progress and we punt.
490 * Select the disk to read from. Take into account: subdisk state, running
491 * error recovery, average disk load, head position and possible cache hits.
515 /* If disk head is precisely in position - highly prefer it. */
519 /* If disk head is close to position - prefer it. */
584 * resync'd disk is very close and writing it will
628 * even when the disk is busy. Be sure to only count real I/O
629 * to the disk. All 'SPECIAL' I/O is traffic generated to the disk
679 * bunch of I/Os to the disk (to make sure an active system
783 * another disk drive, if available, before erroring out the
805 * Find the other disk, and try to do the I/O to it.
833 * through. This will happen when there's only one good disk.
848 * disk, remapping the bad sector. Do we need to do that by
869 * For any write errors, we agressively fail the disk since
936 * resync'd disk is very close and writing it will