lkml.org 
[lkml]   [2014]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC - TAKE TWO - 06/12] block, bfq: improve responsiveness
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


\
 
 \ /
  Last update: 2014-05-30 18:21    [W:1.751 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site