[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240719071506.158075-1-yukuai1@huaweicloud.com>
Date: Fri, 19 Jul 2024 15:15:03 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: hch@...radead.org,
bvanassche@....org,
jack@...e.cz,
tj@...nel.org,
josef@...icpanda.com,
axboe@...nel.dk
Cc: cgroups@...r.kernel.org,
linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
yukuai3@...wei.com,
yukuai1@...weicloud.com,
yi.zhang@...wei.com,
yangerkun@...wei.com
Subject: [PATCH v3 0/3] blk-ioprio: remove per-disk structure
From: Yu Kuai <yukuai3@...wei.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
Powered by blists - more mailing lists