Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Draid1.c2675 int min_bad = 0; /* number of sectors that are bad in all devices */ in raid1_sync_request() local
2784 if (min_bad == 0 || in raid1_sync_request()
2785 min_bad > bad_sectors) in raid1_sync_request()
2786 min_bad = bad_sectors; in raid1_sync_request()
2827 if (read_targets == 0 && min_bad > 0) { in raid1_sync_request()
2836 min_bad, 0 in raid1_sync_request()
2853 return min_bad; in raid1_sync_request()
2856 if (min_bad > 0 && min_bad < good_sectors) { in raid1_sync_request()
2859 good_sectors = min_bad; in raid1_sync_request()
2871 if (min_bad > 0) in raid1_sync_request()
[all …]