public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 0/5] block/blk-rq-qos: fix incorrect lock order for rq_qos_mutex and freeze queue
@ 2025-11-16  4:10 Yu Kuai
  2025-11-16  4:10 ` [PATCH RESEND 1/5] block/blk-rq-qos: add a new helper rq_qos_add_freezed() Yu Kuai
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Yu Kuai @ 2025-11-16  4:10 UTC (permalink / raw)
  To: axboe, linux-block, linux-kernel, tj, nilay, ming.lei; +Cc: yukuai

 - 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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-11-19  6:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-16  4:10 [PATCH RESEND 0/5] block/blk-rq-qos: fix incorrect lock order for rq_qos_mutex and freeze queue Yu Kuai
2025-11-16  4:10 ` [PATCH RESEND 1/5] block/blk-rq-qos: add a new helper rq_qos_add_freezed() Yu Kuai
2025-11-17 10:10   ` Nilay Shroff
2025-11-17 11:01   ` Ming Lei
2025-11-17 11:13     ` Nilay Shroff
2025-11-17 11:30       ` Ming Lei
2025-11-17 11:39         ` Yu Kuai
2025-11-17 11:54           ` Ming Lei
2025-11-17 11:59             ` Yu Kuai
2025-11-17 23:32   ` Bart Van Assche
2025-11-16  4:10 ` [PATCH RESEND 2/5] blk-wbt: fix incorrect lock order for rq_qos_mutex and freeze queue Yu Kuai
2025-11-17 10:11   ` Nilay Shroff
2025-11-19  6:55   ` kernel test robot
2025-11-16  4:10 ` [PATCH RESEND 3/5] blk-iocost: " Yu Kuai
2025-11-17 10:11   ` Nilay Shroff
2025-11-16  4:10 ` [PATCH RESEND 4/5] blk-iolatency: " Yu Kuai
2025-11-17 10:12   ` Nilay Shroff
2025-11-16  4:10 ` [PATCH RESEND 5/5] block/blk-rq-qos: cleanup rq_qos_add() Yu Kuai
2025-11-17 10:13   ` Nilay Shroff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox