]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
blk-mq-debugfs: warn about possible deadlock
authorYu Kuai <yukuai@fnnas.com>
Mon, 2 Feb 2026 08:05:23 +0000 (16:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Feb 2026 14:05:19 +0000 (07:05 -0700)
commit65d466b6298470ce21ab21ebfdb51309d515737d
treea1b626b699ec75e01a79a0c8f983b4d3315e0ac1
parent9d20fd6ce1ba9733cd5ac96fcab32faa9fc404dd
blk-mq-debugfs: warn about possible deadlock

Creating new debugfs entries can trigger fs reclaim, hence we can't do
this with queue frozen, meanwhile, other locks that can be held while
queue is frozen should not be held as well.

Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c