]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:07 +0000 (14:02 +0100)
commit97701315e32ed1b218399d41b16a57bcec6c77c0
treec418a9a5a5bce6bba5fe9c145b94369c82fd93be
parentb2b4eddf2f18836817971ae5c1e196c210c9d10f
block: Revert "block: Fix potential deadlock while freezing queue and acquiring sysfs_lock"

commit 224749be6c23efe7fb8a030854f4fc5d1dd813b3 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/blk-mq-sysfs.c
block/blk-mq.c
block/blk-sysfs.c