[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50C4D60D.4090201@kernel.dk>
Date: Sun, 09 Dec 2012 19:18:53 +0100
From: Jens Axboe <axboe@...nel.dk>
To: xtu4 <xiaobing.tu@...el.com>
CC: linux-kernel@...r.kernel.org, di.zhang@...el.com
Subject: Re: [PATCH] Allow 0ms deadline latency
On 2012-12-09 17:02, xtu4 wrote:
> On 12/10/2012 12:01 AM, xtu4 wrote:
>> Subject: [PATCH] Allow 0ms deadline latency, increase the read speed
>>
>> Signed-off-by: xiaobing tu <xiaobing.tu@...el.com>
>> ---
>> block/deadline-iosched.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c
>> index c644137..e502d6b 100644
>> --- a/block/deadline-iosched.c
>> +++ b/block/deadline-iosched.c
>> @@ -230,7 +230,7 @@ static inline int deadline_check_fifo(struct
>> deadline_data *dd, int ddir)
>> /*
>> * rq is expired!
>> */
>> - if (time_after(jiffies, rq_fifo_time(rq)))
>> + if (time_after_eq(jiffies, rq_fifo_time(rq)))
>> return 1;
>>
>> return 0;
Looks fine, it allows FIFO behaviour for deadline as well. I have
applied it.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists