Home
last modified time | relevance | path

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

/drivers/md/
Draid1.c195 rdev_dec_pending(conf->mirrors[i].rdev, r1_bio->mddev); in put_buf()
274 conf->mirrors[disk].head_position = in update_head_pos()
321 !test_bit(Faulty, &conf->mirrors[mirror].rdev->flags))) in raid1_end_read_request()
328 rdev_dec_pending(conf->mirrors[mirror].rdev, conf->mddev); in raid1_end_read_request()
338 bdevname(conf->mirrors[mirror].rdev->bdev, in raid1_end_read_request()
397 &conf->mirrors[mirror].rdev->flags); in raid1_end_write_request()
399 &conf->mirrors[mirror].rdev->flags)) in raid1_end_write_request()
428 if (test_bit(In_sync, &conf->mirrors[mirror].rdev->flags) && in raid1_end_write_request()
429 !test_bit(Faulty, &conf->mirrors[mirror].rdev->flags)) in raid1_end_write_request()
433 if (is_badblock(conf->mirrors[mirror].rdev, in raid1_end_write_request()
[all …]
Draid10.c329 conf->mirrors[r10_bio->devs[slot].devnum].head_position = in update_head_pos()
457 rdev = conf->mirrors[dev].replacement; in raid10_end_write_request()
461 rdev = conf->mirrors[dev].rdev; in raid10_end_write_request()
736 conf->mirrors[disk].rdev); in raid10_mergeable_bvec()
748 rdev = rcu_dereference(conf->mirrors[disk].replacement); in raid10_mergeable_bvec()
826 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance()
830 rdev = rcu_dereference(conf->mirrors[disk].rdev); in read_balance()
886 conf->mirrors[disk].head_position); in read_balance()
930 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in md_raid10_congested()
1382 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in make_request()
[all …]
Draid1.h33 struct raid1_info *mirrors; /* twice 'raid_disks' to member
Draid10.h16 struct raid10_info *mirrors; member
DKconfig86 will continue to use the operational mirrors in the set, providing