Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Draid1.c435 !test_bit(WriteMostly, &rdev->flags)) { in raid1_end_write_request()
487 if (test_bit(WriteMostly, &rdev->flags)) in raid1_end_write_request()
611 if (test_bit(WriteMostly, &rdev->flags)) { in read_balance()
1258 if (test_bit(WriteMostly, &mirror->rdev->flags) && in raid1_read_request()
1485 if (test_bit(WriteMostly, &conf->mirrors[i].rdev->flags)) in raid1_write_request()
1497 !test_bit(WriteMostly, &conf->mirrors[i].rdev->flags) && in raid1_write_request()
2725 if (test_bit(WriteMostly, &rdev->flags)) { in raid1_sync_request()
Dmd.c1141 clear_bit(WriteMostly, &rdev->flags); in super_90_validate()
1247 set_bit(WriteMostly, &rdev->flags); in super_90_validate()
1373 if (test_bit(WriteMostly, &rdev2->flags)) in super_90_sync()
1638 clear_bit(WriteMostly, &rdev->flags); in super_1_validate()
1780 set_bit(WriteMostly, &rdev->flags); in super_1_validate()
1826 if (test_bit(WriteMostly, &rdev->flags)) in super_1_sync()
2705 if (test_bit(WriteMostly, &flags)) in state_show()
2779 set_bit(WriteMostly, &rdev->flags); in state_store()
2782 clear_bit(WriteMostly, &rdev->flags); in state_store()
3003 clear_bit(WriteMostly, &rdev->flags); in slot_store()
[all …]
Dmd.h141 WriteMostly, /* Avoid reading if at all possible */ enumerator
Ddm-raid.c1333 set_bit(WriteMostly, &rs->dev[value].rdev.flags); in parse_raid_params()
3604 if (test_bit(WriteMostly, &rs->dev[i].rdev.flags)) in raid_status()
3637 if (test_bit(WriteMostly, &rs->dev[i].rdev.flags)) in raid_status()