public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] blk-ioprio: remove per-disk structure
@ 2024-07-19  2:34 Yu Kuai
  2024-07-19  2:34 ` [PATCH v2 1/3] blk-cgroup: check for pd_(alloc|free)_fn in blkcg_activate_policy() Yu Kuai
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Yu Kuai @ 2024-07-19  2:34 UTC (permalink / raw)
  To: bvanassche, jack, hch, tj, josef, axboe
  Cc: cgroups, linux-block, linux-kernel, yukuai3, yukuai1, yi.zhang,
	yangerkun

From: Yu Kuai <yukuai3@huawei.com>

Changes in v2:
 - add patch 1;

The idea is that ioprio doesn't need to access blkg, all it needs is
blkcg, hence blk_register_policy() is enough, and blk_activate_policy()
is not needed.

Yu Kuai (3):
  blk-cgroup: check for pd_(alloc|free)_fn in blkcg_activate_policy()
  blk-ioprio: remove ioprio_blkcg_from_bio()
  blk-ioprio: remove per-disk structure

 block/blk-cgroup.c | 21 +++++++++--------
 block/blk-ioprio.c | 57 +---------------------------------------------
 block/blk-ioprio.h |  9 --------
 3 files changed, 13 insertions(+), 74 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-07-20  7:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19  2:34 [PATCH v2 0/3] blk-ioprio: remove per-disk structure Yu Kuai
2024-07-19  2:34 ` [PATCH v2 1/3] blk-cgroup: check for pd_(alloc|free)_fn in blkcg_activate_policy() Yu Kuai
2024-07-19  5:29   ` Christoph Hellwig
2024-07-19  7:14     ` Yu Kuai
2024-07-19 16:25     ` Bart Van Assche
2024-07-20  7:17       ` Yu Kuai
2024-07-19  2:34 ` [PATCH v2 2/3] blk-ioprio: remove ioprio_blkcg_from_bio() Yu Kuai
2024-07-19  5:30   ` Christoph Hellwig
2024-07-19 16:26   ` Bart Van Assche
2024-07-19  2:34 ` [PATCH v2 3/3] blk-ioprio: remove per-disk structure Yu Kuai
2024-07-19  5:30   ` Christoph Hellwig
2024-07-19 16:26   ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox