]> www.infradead.org Git - nvme.git/commit
block: Revert "block: Fix potential deadlock while freezing queue and acquiring sysfs...
authorMing Lei <ming.lei@redhat.com>
Wed, 18 Dec 2024 10:16:14 +0000 (18:16 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Dec 2024 14:25:37 +0000 (07:25 -0700)
commit224749be6c23efe7fb8a030854f4fc5d1dd813b3
treed3d8d94db2d25a9371f7099933ccf53ab266cfb7
parent51588b1b77b65cd0fb3440f78f37bef7178a2715
block: Revert "block: Fix potential deadlock while freezing queue and acquiring sysfs_lock"

This reverts commit be26ba96421ab0a8fa2055ccf7db7832a13c44d2.

Commit be26ba96421a ("block: Fix potential deadlock while freezing queue and
acquiring sysfs_loc") actually reverts commit 22465bbac53c ("blk-mq: move cpuhp
callback registering out of q->sysfs_lock"), and causes the original resctrl
lockdep warning.

So revert it and we need to fix the issue in another way.

Cc: Nilay Shroff <nilay@linux.ibm.com>
Fixes: be26ba96421a ("block: Fix potential deadlock while freezing queue and acquiring sysfs_loc")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241218101617.3275704-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sysfs.c
block/blk-mq.c
block/blk-sysfs.c