[PATCH RFC - TAKE TWO - 06/12] block, bfq: improve responsiveness
Tejun Heo
tj at kernel.org
Fri May 30 15:41:23 UTC 2014
On Thu, May 29, 2014 at 11:05:37AM +0200, Paolo Valente wrote:
> @@ -281,7 +323,8 @@ static inline unsigned long bfq_serv_to_charge(struct request *rq,
> struct bfq_queue *bfqq)
> {
> return blk_rq_sectors(rq) *
> - (1 + ((!bfq_bfqq_sync(bfqq)) * bfq_async_charge_factor));
> + (1 + ((!bfq_bfqq_sync(bfqq)) * (bfqq->wr_coeff == 1) *
> + bfq_async_charge_factor));
Ah, okay, so you actually use it later. Please disregard my previous
comment about dropping the wrapper.
Thanks.
--
tejun
More information about the Containers
mailing list