Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1.c603 int best_good_sectors; in read_balance() local
626 best_good_sectors = 0; in read_balance()
663 best_good_sectors = first_bad - this_sector; in read_balance()
665 best_good_sectors = sectors; in read_balance()
687 if (best_good_sectors > sectors) in read_balance()
688 best_good_sectors = sectors; in read_balance()
692 if (good_sectors > best_good_sectors) { in read_balance()
693 best_good_sectors = good_sectors; in read_balance()
701 if ((sectors > best_good_sectors) && (best_disk >= 0)) in read_balance()
703 best_good_sectors = sectors; in read_balance()
[all …]
Draid10.c738 int best_good_sectors; in read_balance() local
754 best_good_sectors = 0; in read_balance()
805 if (best_good_sectors > sectors) in read_balance()
806 best_good_sectors = sectors; in read_balance()
810 if (good_sectors > best_good_sectors) { in read_balance()
811 best_good_sectors = good_sectors; in read_balance()
821 best_good_sectors = sectors; in read_balance()
874 *max_sectors = best_good_sectors; in read_balance()