From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758672Ab2LIQIK (ORCPT ); Sun, 9 Dec 2012 11:08:10 -0500 Received: from mga02.intel.com ([134.134.136.20]:38909 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335Ab2LIQII (ORCPT ); Sun, 9 Dec 2012 11:08:08 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,246,1355126400"; d="scan'208";a="231334873" Message-ID: <50C4B62C.7050404@intel.com> Date: Mon, 10 Dec 2012 00:02:52 +0800 From: xtu4 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: xtu4 CC: linux-kernel@vger.kernel.org, axboe@kernel.dk, di.zhang@intel.com Subject: Re: [PATCH] Allow 0ms deadline latency References: <50C4B5D7.4030808@intel.com> In-Reply-To: <50C4B5D7.4030808@intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org re-send it On 12/10/2012 12:01 AM, xtu4 wrote: > Subject: [PATCH] Allow 0ms deadline latency, increase the read speed > > Signed-off-by: xiaobing tu > --- > 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;