From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, Tejun Heo <tj@kernel.org>,
Christoph Hellwig <hch@lst.de>,
Bart Van Assche <bvanassche@acm.org>,
Ming Lei <ming.lei@redhat.com>
Subject: [PATCH 0/3] block: cleanup cgroup
Date: Fri, 11 Feb 2022 18:11:46 +0800 [thread overview]
Message-ID: <20220211101149.2368042-1-ming.lei@redhat.com> (raw)
Hello,
The 1st two patches cleans up blk-cgroup code a bit.
The 3rd patch moves block layer internal definition into one private
header of block/blk-cgroup.h, as suggested by Christoph, and the idea
is that just small amount of structures & functions need to be exported,
and most of them are block layer internal structures and functions.
Ming Lei (3):
block: remove THROTL_IOPS_MAX
block: move initialization of q->blkg_list into blkcg_init_queue
block: partition include/linux/blk-cgroup.h
block/bfq-iosched.h | 1 -
block/bio.c | 2 +-
block/blk-cgroup-rwstat.h | 2 +-
block/blk-cgroup.c | 4 +-
block/blk-cgroup.h | 477 ++++++++++++++++++++++++++++++++++++
block/blk-core.c | 5 +-
block/blk-crypto-fallback.c | 2 +-
block/blk-iocost.c | 2 +-
block/blk-iolatency.c | 2 +-
block/blk-ioprio.c | 2 +-
block/blk-sysfs.c | 2 +-
block/blk-throttle.c | 1 -
block/bounce.c | 2 +-
block/elevator.c | 2 +-
include/linux/blk-cgroup.h | 461 +---------------------------------
15 files changed, 495 insertions(+), 472 deletions(-)
create mode 100644 block/blk-cgroup.h
--
2.31.1
next reply other threads:[~2022-02-11 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-11 10:11 Ming Lei [this message]
2022-02-11 10:11 ` [PATCH 1/3] block: remove THROTL_IOPS_MAX Ming Lei
2022-02-11 15:56 ` Christoph Hellwig
2022-02-11 10:11 ` [PATCH 2/3] block: move initialization of q->blkg_list into blkcg_init_queue Ming Lei
2022-02-11 10:11 ` [PATCH 3/3] block: partition include/linux/blk-cgroup.h Ming Lei
2022-02-11 15:57 ` Christoph Hellwig
2022-02-11 17:02 ` [PATCH 0/3] block: cleanup cgroup 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=20220211101149.2368042-1-ming.lei@redhat.com \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=hch@lst.de \
--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;
as well as URLs for NNTP newsgroup(s).