From: Jens Axboe <jaxboe@fusionio.com>
To: Vivek Goyal <vgoyal@redhat.com>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Paul Bolle <pebolle@tiscali.nl>
Subject: Re: [PATCH] blk-cgroup: Initialize ioc->cgroup_changed at ioc creation time
Date: Mon, 23 May 2011 19:35:59 +0200 [thread overview]
Message-ID: <4DDA9AFF.3080400@fusionio.com> (raw)
In-Reply-To: <20110523145539.GA4019@redhat.com>
On 2011-05-23 16:55, Vivek Goyal wrote:
> If we don't explicitly initialize it to zero, CFQ might think that
> cgroup of ioc has changed and it generates lots of unnecessary calls
> to call_for_each_cic(changed_cgroup). Fix it.
>
> cfq_get_io_context()
> cfq_ioc_set_cgroup()
> call_for_each_cic(ioc, changed_cgroup)
Thanks Vivek, applied.
--
Jens Axboe
prev parent reply other threads:[~2011-05-23 17:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 14:55 [PATCH] blk-cgroup: Initialize ioc->cgroup_changed at ioc creation time Vivek Goyal
2011-05-23 17:35 ` Jens Axboe [this message]
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=4DDA9AFF.3080400@fusionio.com \
--to=jaxboe@fusionio.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pebolle@tiscali.nl \
--cc=vgoyal@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).