Commit ec30b46
blk-mq: don't change nr_hw_queues and nr_maps for kdump kernel
For most of ARCHs, 'nr_cpus=1' is passed for kdump kernel, so
nr_hw_queues for each mapping is supposed to be 1 already.
More importantly, this way may cause trouble for driver, because blk-mq and
driver see different queue mapping since driver should setup hardware
queue setting before calling into allocating blk-mq tagset.
So not overriding nr_hw_queues and nr_maps for kdump kernel.
Cc: Wen Xiong <wenxiong@us.ibm.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240228040857.306483-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent fb5d1d3 commit ec30b46
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4379 | 4379 | | |
4380 | 4380 | | |
4381 | 4381 | | |
4382 | | - | |
| 4382 | + | |
4383 | 4383 | | |
4384 | 4384 | | |
4385 | 4385 | | |
| |||
4478 | 4478 | | |
4479 | 4479 | | |
4480 | 4480 | | |
4481 | | - | |
4482 | | - | |
| 4481 | + | |
| 4482 | + | |
4483 | 4483 | | |
4484 | | - | |
4485 | | - | |
4486 | | - | |
| 4484 | + | |
4487 | 4485 | | |
4488 | | - | |
| 4486 | + | |
4489 | 4487 | | |
4490 | 4488 | | |
4491 | 4489 | | |
| |||
4515 | 4513 | | |
4516 | 4514 | | |
4517 | 4515 | | |
4518 | | - | |
| 4516 | + | |
4519 | 4517 | | |
4520 | 4518 | | |
4521 | 4519 | | |
| |||
0 commit comments