[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230104085354.2343590-1-yukuai1@huaweicloud.com>
Date: Wed, 4 Jan 2023 16:53:50 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: tj@...nel.org, hch@...radead.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 -next 0/4] block/rq_qos: protect rq_qos apis with global mutex
From: Yu Kuai <yukuai3@...wei.com>
This patchset is a new version, use a different solution suggested by
Tejun in [1].
[1] https://lore.kernel.org/all/Y6DP3aOSad8+D1yY@slm.duckdns.org/
Yu Kuai (4):
block/rq_qos: move implementions of init/exit rq-qos apis to
blk-rq-qos.c
block/rq_qos: factor out a helper to add rq_qos and activate policy
block/rq_qos: use a global mutex to protect rq_qos apis
block/rq_qos: fail rq_qos_add() after rq_qos_exit()
block/blk-iocost.c | 14 +----
block/blk-iolatency.c | 7 +--
block/blk-rq-qos.c | 118 ++++++++++++++++++++++++++++++++++++++++--
block/blk-rq-qos.h | 69 +++---------------------
4 files changed, 125 insertions(+), 83 deletions(-)
--
2.31.1
Powered by blists - more mailing lists