diff options
author | Ming Lei <ming.lei@redhat.com> | 2024-10-31 16:37:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 16:03:10 +0300 |
commit | 6cea47849d6e8c143192797893759fc185eee332 (patch) | |
tree | 9e79ed30b35ce35f7e092c11bad68195a1d98320 /scripts/generate_rust_analyzer.py | |
parent | b12cfcae8a83140d949dfaad7b19c37275069f81 (diff) | |
download | linux-6cea47849d6e8c143192797893759fc185eee332.tar.xz |
block: don't verify IO lock for freeze/unfreeze in elevator_init_mq()
commit 357e1b7f730bd85a383e7afa75a3caba329c5707 upstream.
elevator_init_mq() is only called at the entry of add_disk_fwnode() when
disk IO isn't allowed yet.
So not verify io lock(q->io_lockdep_map) for freeze & unfreeze in
elevator_init_mq().
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reported-by: Lai Yi <yi1.lai@linux.intel.com>
Fixes: f1be1788a32e ("block: model freeze & enter queue as lock for supporting lockdep")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241031133723.303835-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions