linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] block: cleanup cgroup
@ 2022-02-11 10:11 Ming Lei
  2022-02-11 10:11 ` [PATCH 1/3] block: remove THROTL_IOPS_MAX Ming Lei
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ming Lei @ 2022-02-11 10:11 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Tejun Heo, Christoph Hellwig, Bart Van Assche,
	Ming Lei

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-11 17:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-11 10:11 [PATCH 0/3] block: cleanup cgroup Ming Lei
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

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).