Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Draid1.c360 if (test_bit(WriteMostly, &conf->mirrors[mirror].rdev->flags)) in raid1_end_write_request()
450 if (!test_bit(WriteMostly, &rdev->flags)) in read_balance()
479 || test_bit(WriteMostly, &rdev->flags)) in read_balance()
785 if (test_bit(WriteMostly, &mirror->rdev->flags) && in make_request()
909 if (test_bit(WriteMostly, &conf->mirrors[i].rdev->flags)) in make_request()
1733 if (test_bit(WriteMostly, &rdev->flags)) { in sync_request()
Dmd.h75 #define WriteMostly 4 /* Avoid reading if at all possible */ macro
Dmd.c1105 clear_bit(WriteMostly, &rdev->flags); in super_90_validate()
1199 set_bit(WriteMostly, &rdev->flags); in super_90_validate()
1324 if (test_bit(WriteMostly, &rdev2->flags)) in super_90_sync()
1519 clear_bit(WriteMostly, &rdev->flags); in super_1_validate()
1605 set_bit(WriteMostly, &rdev->flags); in super_1_validate()
2344 if (test_bit(WriteMostly, &rdev->flags)) { in state_show()
2388 set_bit(WriteMostly, &rdev->flags); in state_store()
2391 clear_bit(WriteMostly, &rdev->flags); in state_store()
2522 clear_bit(WriteMostly, &rdev->flags); in slot_store()
5126 if (test_bit(WriteMostly, &rdev->flags)) in get_disk_info()
[all …]