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

Yu Kuai posted 3 patches 1 year, 5 months ago
block/blk-cgroup.c | 23 +++++++++++--------
block/blk-ioprio.c | 57 +---------------------------------------------
block/blk-ioprio.h |  9 --------
3 files changed, 14 insertions(+), 75 deletions(-)
[PATCH v3 0/3] blk-ioprio: remove per-disk structure
Posted by Yu Kuai 1 year, 5 months ago
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(-)

-- 
2.39.2
Re: [PATCH v3 0/3] blk-ioprio: remove per-disk structure
Posted by Jens Axboe 1 year, 4 months ago
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,
-- 
Jens Axboe