Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Draid1.c1538 int good_sectors = first_bad - r1_bio->sector; in raid1_write_request() local
1539 if (good_sectors < max_sectors) in raid1_write_request()
1540 max_sectors = good_sectors; in raid1_write_request()
2764 int good_sectors = RESYNC_SECTORS; in raid1_sync_request() local
2846 good_sectors = align_to_barrier_unit_end(sector_nr, good_sectors); in raid1_sync_request()
2866 if (is_badblock(rdev, sector_nr, good_sectors, in raid1_sync_request()
2869 good_sectors = first_bad - sector_nr; in raid1_sync_request()
2943 if (min_bad > 0 && min_bad < good_sectors) { in raid1_sync_request()
2946 good_sectors = min_bad; in raid1_sync_request()
2968 if (max_sector > sector_nr + good_sectors) in raid1_sync_request()
[all …]
Draid10.c792 sector_t good_sectors = in read_balance() local
794 if (good_sectors > best_good_sectors) { in read_balance()
795 best_good_sectors = good_sectors; in read_balance()
1464 int good_sectors = first_bad - dev_sector; in raid10_write_request() local
1465 if (good_sectors < max_sectors) in raid10_write_request()
1466 max_sectors = good_sectors; in raid10_write_request()