From: Tejun Heo <tj@kernel.org>
To: Vivek Goyal <vgoyal@redhat.com>
Cc: axboe@kernel.dk, linux-kernel@vger.kernel.org,
cgroups@vger.kernel.org, avanzini.arianna@gmail.com,
kernel-team@fb.com
Subject: Re: [PATCH 5/6] blkcg: move io_service_bytes and io_serviced stats into blkcg_gq
Date: Fri, 26 Jun 2015 12:09:23 -0400 [thread overview]
Message-ID: <20150626160923.GI15805@mtj.duckdns.org> (raw)
In-Reply-To: <20150626160142.GA24554@redhat.com>
Hello, Vivek.
On Fri, Jun 26, 2015 at 12:01:42PM -0400, Vivek Goyal wrote:
> - Previously throttling policy was calculating number of IOs in terms of
> number of bios while CFQ was calculating it in terms of number of
> requests. I think this will be a behavior change now? IIUC, now even
> throttling policy will report number of requests and number of bios.
Yes, it'd be. I'll mention it in the description. The thing is this
has never been documented or explained properly. The only thing
userland saw would be the counts deviating over time. I don't think
putting them on the same measure is gonna break anything.
> - Looks like completion and stat is now lined to request. I am wondering
> what will happen to bio based targets. One can put a throttling policy
> on any of the stacked dm devices. I suspect we will be broken there?
Dang, I forgot about bio based drivers. I don't care whether it
counts bios or requests. The only thing I want is counting the same
thing once instead of separately in subtly different ways. I'll
converge them to bios.
> - Can you please also update the blkio-controller.txt. Specifically
> blkio.throttle.io_serviced.
Sure, will do.
Thanks.
--
tejun
next prev parent reply other threads:[~2015-06-26 16:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-25 21:38 [PATCHSET block/for-4.2/writeback] blkcg: blkcg stats cleanup Tejun Heo
2015-06-25 21:38 ` [PATCH 1/6] cgroup: make cftype->private a unsigned long Tejun Heo
2015-06-30 6:50 ` Zefan Li
2015-06-25 21:38 ` [PATCH 2/6] blkcg: add blkg_[rw]stat->aux_cnt and replace cfq_group->dead_stats with it Tejun Heo
2015-06-26 13:27 ` Vivek Goyal
2015-06-26 13:35 ` Tejun Heo
2015-06-26 13:45 ` Vivek Goyal
2015-06-26 13:55 ` Tejun Heo
2015-06-25 21:38 ` [PATCH 3/6] blkcg: make blkcg_[rw]stat per-cpu Tejun Heo
2015-06-25 21:38 ` [PATCH 4/6] blkcg: make blkg_[rw]stat_recursive_sum() to be able to index into blkcg_gq Tejun Heo
2015-06-25 21:38 ` [PATCH 5/6] blkcg: move io_service_bytes and io_serviced stats " Tejun Heo
2015-06-26 16:01 ` Vivek Goyal
2015-06-26 16:09 ` Tejun Heo [this message]
2015-06-25 21:38 ` [PATCH 6/6] blkcg: remove cfqg_stats->sectors Tejun Heo
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=20150626160923.GI15805@mtj.duckdns.org \
--to=tj@kernel.org \
--cc=avanzini.arianna@gmail.com \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=kernel-team@fb.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®