diff options
author | Ming Lei <ming.lei@redhat.com> | 2024-10-31 21:37:20 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-07 16:27:22 -0700 |
commit | 357e1b7f730bd85a383e7afa75a3caba329c5707 (patch) | |
tree | fb65a93878201e05733a490f48016ab586011578 /rust/helpers/task.c | |
parent | 6a78699838a0ddeed3620ddf50c1521f1fe1e811 (diff) | |
download | linux-357e1b7f730bd85a383e7afa75a3caba329c5707.tar.gz linux-357e1b7f730bd85a383e7afa75a3caba329c5707.tar.bz2 linux-357e1b7f730bd85a383e7afa75a3caba329c5707.zip |
block: don't verify IO lock for freeze/unfreeze in elevator_init_mq()
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>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions