Home
last modified time | relevance | path

Searched refs:good_sectors (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid1.c690 sector_t good_sectors = first_bad - this_sector; in read_balance() local
691 if (good_sectors > best_good_sectors) { in read_balance()
692 best_good_sectors = good_sectors; in read_balance()
1460 int good_sectors = first_bad - r1_bio->sector; in raid1_write_request() local
1461 if (good_sectors < max_sectors) in raid1_write_request()
1462 max_sectors = good_sectors; in raid1_write_request()
2674 int good_sectors = RESYNC_SECTORS; in raid1_sync_request() local
2758 good_sectors = align_to_barrier_unit_end(sector_nr, good_sectors); in raid1_sync_request()
2778 if (is_badblock(rdev, sector_nr, good_sectors, in raid1_sync_request()
2781 good_sectors = first_bad - sector_nr; in raid1_sync_request()
[all …]
H A Draid10.c814 sector_t good_sectors = in read_balance() local
816 if (good_sectors > best_good_sectors) { in read_balance()
817 best_good_sectors = good_sectors; in read_balance()
1524 int good_sectors = first_bad - dev_sector; in raid10_write_request() local
1525 if (good_sectors < max_sectors) in raid10_write_request()
1526 max_sectors = good_sectors; in raid10_write_request()