Home
last modified time | relevance | path

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

/drivers/md/
Draid1.c470 !test_bit(WriteMostly, &rdev->flags)) { in raid1_end_write_request()
526 if (test_bit(WriteMostly, &rdev->flags)) in raid1_end_write_request()
651 if (test_bit(WriteMostly, &rdev->flags)) { in read_balance()
1272 if (test_bit(WriteMostly, &mirror->rdev->flags) && in raid1_read_request()
1385 if (rdev && test_bit(WriteMostly, &rdev->flags)) in raid1_write_request()
1499 test_bit(WriteMostly, &rdev->flags) && in raid1_write_request()
1520 if (test_bit(WriteMostly, &rdev->flags)) in raid1_write_request()
1533 !test_bit(WriteMostly, &conf->mirrors[i].rdev->flags) && in raid1_write_request()
2775 if (test_bit(WriteMostly, &rdev->flags)) { in raid1_sync_request()
Dmd.c214 test_bit(WriteMostly, &rdev->flags)); in rdev_need_serial()
1316 clear_bit(WriteMostly, &rdev->flags); in super_90_validate()
1424 set_bit(WriteMostly, &rdev->flags); in super_90_validate()
1550 if (test_bit(WriteMostly, &rdev2->flags)) in super_90_sync()
1830 clear_bit(WriteMostly, &rdev->flags); in super_1_validate()
2015 set_bit(WriteMostly, &rdev->flags); in super_1_validate()
2061 if (test_bit(WriteMostly, &rdev->flags)) in super_1_sync()
2990 if (test_bit(WriteMostly, &flags)) in state_show()
3068 set_bit(WriteMostly, &rdev->flags); in state_store()
3074 clear_bit(WriteMostly, &rdev->flags); in state_store()
[all …]
Dmd.h150 WriteMostly, /* Avoid reading if at all possible */ enumerator
Ddm-raid.c1338 set_bit(WriteMostly, &rs->dev[value].rdev.flags); in parse_raid_params()
3610 (test_bit(WriteMostly, &rs->dev[i].rdev.flags) ? 2 : 0); in raid_status()
3640 if (test_bit(WriteMostly, &rs->dev[i].rdev.flags)) in raid_status()
Dmd-bitmap.c2496 if (test_bit(WriteMostly, &rdev->flags)) { in backlog_store()