Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1.c691 sector_t good_sectors = first_bad - this_sector; in read_balance() local
692 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() local
1464 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() local
2761 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 …]
Draid10.c808 sector_t good_sectors = in read_balance() local
810 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() local
1520 if (good_sectors < max_sectors) in raid10_write_request()
1521 max_sectors = good_sectors; in raid10_write_request()