All of lore.kernel.org
 help / color / mirror / Atom feed
From: xtu4 <xiaobing.tu@intel.com>
To: linux-kernel@vger.kernel.org, 'axboe@kernel.dk',
	di.zhang@intel.com, xtu4 <xiaobing.tu@intel.com>
Subject: [PATCH] Allow 0ms deadline latency
Date: Mon, 10 Dec 2012 00:01:27 +0800	[thread overview]
Message-ID: <50C4B5D7.4030808@intel.com> (raw)

Subject: [PATCH] Allow 0ms deadline latency, increase the read speed

Signed-off-by: xiaobing tu <xiaobing.tu@intel.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;
-- 
1.7.6


             reply	other threads:[~2012-12-09 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09 16:01 xtu4 [this message]
2012-12-09 16:02 ` [PATCH] Allow 0ms deadline latency xtu4
2012-12-09 18:18   ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C4B5D7.4030808@intel.com \
    --to=xiaobing.tu@intel.com \
    --cc='axboe@kernel.dk' \
    --cc=di.zhang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.