Thread (18 messages) 18 messages, 4 authors, 2025-10-15

Re: [PATCH v2 for-6.18/block 08/10] blk-mq: fix potential deadlock while nr_requests grown

From: Nilay Shroff <hidden>
Date: 2025-09-10 10:11:41
Also in: lkml


On 9/10/25 1:34 PM, Yu Kuai wrote:
From: Yu Kuai <redacted>

Allocate and free sched_tags while queue is freezed can deadlock[1],
this is a long term problem, hence allocate memory before freezing
queue and free memory after queue is unfreezed.

[1] https://lore.kernel.org/all/0659ea8d-a463-47c8-9180-43c719e106eb@linux.ibm.com/ (local)
Fixes: e3a2b3f931f5 ("blk-mq: allow changing of queue depth through sysfs")

Signed-off-by: Yu Kuai <redacted>
Looks good to me:
Reviewed-by: Nilay Shroff <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help