Searched refs:read_targets (Results 1 – 1 of 1) sorted by relevance
2671 int write_targets = 0, read_targets = 0; in raid1_sync_request() local2799 read_targets++; in raid1_sync_request()2827 if (read_targets == 0 && min_bad > 0) { in raid1_sync_request()2862 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && read_targets > 0) in raid1_sync_request()2864 write_targets += read_targets-1; in raid1_sync_request()2866 if (write_targets == 0 || read_targets == 0) { in raid1_sync_request()2938 atomic_set(&r1_bio->remaining, read_targets); in raid1_sync_request()2939 for (i = 0; i < conf->raid_disks * 2 && read_targets; i++) { in raid1_sync_request()2942 read_targets--; in raid1_sync_request()2944 if (read_targets == 1) in raid1_sync_request()[all …]