函数源码 |
Source File:block\bfq-iosched.c |
Create Date:2022-07-27 19:31:05 |
首页 | Copyright©Brick |
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 | /* Must be called with bfqq != NULL */ static void bfq_bfqq_end_wr( struct bfq_queue *bfqq) { if (bfq_bfqq_busy(bfqq)) bfqq->bfqd->wr_busy_queues--; bfqq->wr_coeff = 1; bfqq->wr_cur_max_time = 0; bfqq->last_wr_start_finish = jiffies; /* * Trigger a weight change on the next invocation of * __bfq_entity_update_weight_prio. */ bfqq->entity.prio_changed = 1; } |