Searched refs:good_sectors (Results 1 – 2 of 2) sorted by relevance
690 sector_t good_sectors = first_bad - this_sector; in read_balance() local691 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() local1461 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() local2758 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 …]
814 sector_t good_sectors = in read_balance() local816 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() local1525 if (good_sectors < max_sectors) in raid10_write_request()1526 max_sectors = good_sectors; in raid10_write_request()