Searched refs:read_targets (Results 1 – 1 of 1) sorted by relevance
2487 int write_targets = 0, read_targets = 0; in raid1_sync_request() local2609 read_targets++; in raid1_sync_request()2636 if (read_targets == 0 && min_bad > 0) { in raid1_sync_request()2671 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && read_targets > 0) in raid1_sync_request()2673 write_targets += read_targets-1; in raid1_sync_request()2675 if (write_targets == 0 || read_targets == 0) { in raid1_sync_request()2753 atomic_set(&r1_bio->remaining, read_targets); in raid1_sync_request()2754 for (i = 0; i < conf->raid_disks * 2 && read_targets; i++) { in raid1_sync_request()2757 read_targets--; in raid1_sync_request()