Searched refs:good_sectors (Results 1 – 2 of 2) sorted by relevance
691 sector_t good_sectors = first_bad - this_sector; in read_balance() local692 if (good_sectors > best_good_sectors) { in read_balance()693 best_good_sectors = good_sectors; in read_balance()1463 int good_sectors = first_bad - r1_bio->sector; in raid1_write_request() local1464 if (good_sectors < max_sectors) in raid1_write_request()1465 max_sectors = good_sectors; in raid1_write_request()2677 int good_sectors = RESYNC_SECTORS; in raid1_sync_request() local2761 good_sectors = align_to_barrier_unit_end(sector_nr, good_sectors); in raid1_sync_request()2781 if (is_badblock(rdev, sector_nr, good_sectors, in raid1_sync_request()2784 good_sectors = first_bad - sector_nr; in raid1_sync_request()[all …]
808 sector_t good_sectors = in read_balance() local810 if (good_sectors > best_good_sectors) { in read_balance()811 best_good_sectors = good_sectors; in read_balance()1519 int good_sectors = first_bad - dev_sector; in raid10_write_request() local1520 if (good_sectors < max_sectors) in raid10_write_request()1521 max_sectors = good_sectors; in raid10_write_request()