All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Nick <gentuu@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cfq: fix IOPRIO_CLASS_IDLE delays
Date: Tue, 6 Nov 2007 20:26:11 +0100	[thread overview]
Message-ID: <20071106192611.GS1767@kernel.dk> (raw)
In-Reply-To: <20071106200510.GA11435@tv-sign.ru>

On Tue, Nov 06 2007, Oleg Nesterov wrote:
> After the fresh boot:
> 
> 	ionice -c3 -p $$
> 	echo cfq >> /sys/block/XXX/queue/scheduler
> 	dd if=/dev/XXX of=/dev/null bs=512 count=1
> 
> Now dd hangs in D state and the queue is completely stalled for approximately
> INITIAL_JIFFIES + CFQ_IDLE_GRACE jiffies. This is because cfq_init_queue()
> forgets to initialize cfq_data->last_end_request.

Another good catch, thanks Oleg!

> (I guess this patch is not complete, overflow is still possible)

Hmm, where would it overflow?

-- 
Jens Axboe


  reply	other threads:[~2007-11-06 19:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 20:05 [PATCH] cfq: fix IOPRIO_CLASS_IDLE delays Oleg Nesterov
2007-11-06 19:26 ` Jens Axboe [this message]
2007-11-07 13:48   ` Oleg Nesterov
2007-11-07 12:50     ` 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=20071106192611.GS1767@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=gentuu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@tv-sign.ru \
    /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.