Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Draid1.c1632 int write_targets = 0, read_targets = 0; in sync_request() local
1740 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()