Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Draid1.c2761 int write_targets = 0, read_targets = 0; in raid1_sync_request() local
2887 read_targets++; in raid1_sync_request()
2914 if (read_targets == 0 && min_bad > 0) { in raid1_sync_request()
2949 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && read_targets > 0) in raid1_sync_request()
2951 write_targets += read_targets-1; in raid1_sync_request()
2953 if (write_targets == 0 || read_targets == 0) { in raid1_sync_request()
3025 atomic_set(&r1_bio->remaining, read_targets); in raid1_sync_request()
3026 for (i = 0; i < conf->raid_disks * 2 && read_targets; i++) { in raid1_sync_request()
3029 read_targets--; in raid1_sync_request()
3031 if (read_targets == 1) in raid1_sync_request()
[all …]