Lines 1022-1028
cam_iosched_init(struct cam_iosched_softc **iscp, struct cam_periph *periph)
Link Here
|
1022 |
bioq_init(&(*iscp)->write_queue); |
1022 |
bioq_init(&(*iscp)->write_queue); |
1023 |
(*iscp)->read_bias = 100; |
1023 |
(*iscp)->read_bias = 100; |
1024 |
(*iscp)->current_read_bias = 100; |
1024 |
(*iscp)->current_read_bias = 100; |
1025 |
(*iscp)->quanta = 200; |
1025 |
(*iscp)->quanta = min(hz, 200); |
1026 |
cam_iosched_iop_stats_init(*iscp, &(*iscp)->read_stats); |
1026 |
cam_iosched_iop_stats_init(*iscp, &(*iscp)->read_stats); |
1027 |
cam_iosched_iop_stats_init(*iscp, &(*iscp)->write_stats); |
1027 |
cam_iosched_iop_stats_init(*iscp, &(*iscp)->write_stats); |
1028 |
cam_iosched_iop_stats_init(*iscp, &(*iscp)->trim_stats); |
1028 |
cam_iosched_iop_stats_init(*iscp, &(*iscp)->trim_stats); |
1029 |
- |
|
|