[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251116041024.120500-1-yukuai@fnnas.com>
Date: Sun, 16 Nov 2025 12:10:19 +0800
From: Yu Kuai <yukuai@...as.com>
To: axboe@...nel.dk,
linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
tj@...nel.org,
nilay@...ux.ibm.com,
ming.lei@...hat.com
Cc: yukuai@...as.com
Subject: [PATCH RESEND 0/5] block/blk-rq-qos: fix incorrect lock order for rq_qos_mutex and freeze queue
- Resend with kernel.org email server.
Currently rq_qos_add() will be called with rq_qos_mutex held, and freeze
queue, this is not expected. This set make sure queu is always freezed
before holding rq_qos_mutex.
Yu Kuai (5):
block/blk-rq-qos: add a new helper rq_qos_add_freezed()
blk-wbt: fix incorrect lock order for rq_qos_mutex and freeze queue
blk-iocost: fix incorrect lock order for rq_qos_mutex and freeze queue
blk-iolatency: fix incorrect lock order for rq_qos_mutex and freeze
queue
block/blk-rq-qos: cleanup rq_qos_add()
block/blk-iocost.c | 15 +++++++--------
block/blk-iolatency.c | 11 +++++++----
block/blk-rq-qos.c | 23 ++++++-----------------
block/blk-rq-qos.h | 4 ++--
block/blk-wbt.c | 6 +++++-
5 files changed, 27 insertions(+), 32 deletions(-)
--
2.51.0
Powered by blists - more mailing lists