mbox series

[v3,0/3] blk-ioprio: remove per-disk structure

Message ID 20240719071506.158075-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series blk-ioprio: remove per-disk structure | expand

Message

Yu Kuai July 19, 2024, 7:15 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

Changes in v3:
 - also fix indentation in path 1;
 - add reviewed tag by hch;

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 | 23 +++++++++++--------
 block/blk-ioprio.c | 57 +---------------------------------------------
 block/blk-ioprio.h |  9 --------
 3 files changed, 14 insertions(+), 75 deletions(-)

Comments

Jens Axboe July 22, 2024, 9:27 p.m. UTC | #1
On Fri, 19 Jul 2024 15:15:03 +0800, Yu Kuai wrote:
> Changes in v3:
>  - also fix indentation in path 1;
>  - add reviewed tag by hch;
> 
> Changes in v2:
>  - add patch 1;
> 
> [...]

Applied, thanks!

[1/3] blk-cgroup: check for pd_(alloc|free)_fn in blkcg_activate_policy()
      commit: b925680cf08356a27ab83c0b707c0fcf61ab0bb9
[2/3] blk-ioprio: remove ioprio_blkcg_from_bio()
      commit: 746af0f4f529ba40bfa474c5b7509bd52f9863d9
[3/3] blk-ioprio: remove per-disk structure
      commit: 19c8bb716c283093a355a95a4162dc6a880dbeb0

Best regards,