From: Bart Van Assche <bvanassche@acm.org>
To: Tejun Heo <tj@kernel.org>, Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Subject: Re: [PATCH block-5.14] Revert "block/mq-deadline: Add cgroup support"
Date: Wed, 11 Aug 2021 11:49:10 -0700 [thread overview]
Message-ID: <035f8334-3b69-667d-be91-92dcab9dc887@acm.org> (raw)
In-Reply-To: <YRQL2dlLsQ6mGNtz@slm.duckdns.org>
On 8/11/21 10:41 AM, Tejun Heo wrote:
> From e150c6478e453fe27b5cf83ed5d03b7582b6d35e Mon Sep 17 00:00:00 2001
> From: Tejun Heo <tj@kernel.org>
> Date: Wed, 11 Aug 2021 07:29:20 -1000
>
> This reverts commit 08a9ad8bf607 ("block/mq-deadline: Add cgroup support")
> and a follow-up commit c06bc5a3fb42 ("block/mq-deadline: Remove a
> WARN_ON_ONCE() call"). The added cgroup support has the following issues:
>
> * It breaks cgroup interface file format rule by adding custom elements to a
> nested key-value file.
>
> * It registers mq-deadline as a cgroup-aware policy even though all it's
> doing is collecting per-cgroup stats. Even if we need these stats, this
> isn't the right way to add them.
>
> * It hasn't been reviewed from cgroup side.
Agreed that I should have Cc-ed you on the cgroup patches. But where
were you while my mq-deadline patch series was out for review? The first
version of that patch series was published on May 27 and the patch
series was merged on June 21 so there was almost one month time to post
review feedback.
Additionally, the above description is not very helpful. If it is not
allowed to add custom elements by adding more pd_stat_fn callbacks, why
does that callback even exist? Why does the cgroup core not complain if
a new policy is registered that defines a pd_stat_fn callback?
You write that this isn't the right way to collect per cgroup stats.
What is the "right way"? Has this been documented somewhere?
Bart.
next prev parent reply other threads:[~2021-08-11 18:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-11 17:41 [PATCH block-5.14] Revert "block/mq-deadline: Add cgroup support" Tejun Heo
2021-08-11 18:49 ` Bart Van Assche [this message]
2021-08-11 19:14 ` Tejun Heo
2021-08-11 20:22 ` Bart Van Assche
2021-08-12 17:51 ` Tejun Heo
2021-08-12 18:16 ` Bart Van Assche
2021-08-12 19:23 ` Tejun Heo
2021-08-13 2:18 ` Damien Le Moal
2021-08-13 16:29 ` Tejun Heo
2021-08-13 17:17 ` Bart Van Assche
2021-08-13 21:43 ` Tejun Heo
2021-08-13 17:15 ` Bart Van Assche
2021-08-12 18:56 ` Jens Axboe
2021-08-12 19:10 ` Tejun Heo
2021-08-11 19:48 ` Jens Axboe
2021-08-12 14:14 ` Oleksandr Natalenko
2021-08-12 15: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=035f8334-3b69-667d-be91-92dcab9dc887@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=tj@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox