Searched refs:read_targets (Results 1 – 1 of 1) sorted by relevance
1632 int write_targets = 0, read_targets = 0; in sync_request() local1740 read_targets++; in sync_request()1752 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && read_targets > 0) in sync_request()1754 write_targets += read_targets-1; in sync_request()1756 if (write_targets == 0 || read_targets == 0) { in sync_request()1820 atomic_set(&r1_bio->remaining, read_targets); in sync_request()