Commit 42ee306
blk-mq: reconfigure poll after queue map is changed
queue map can be changed when updating nr_hw_queues, so we need to
reconfigure queue's poll capability. Add one helper for doing this job.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220308073219.91173-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 306f13e commit 42ee306
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4010 | 4010 | | |
4011 | 4011 | | |
4012 | 4012 | | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
| 4018 | + | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
| 4022 | + | |
| 4023 | + | |
4013 | 4024 | | |
4014 | 4025 | | |
4015 | 4026 | | |
| |||
4044 | 4055 | | |
4045 | 4056 | | |
4046 | 4057 | | |
4047 | | - | |
4048 | | - | |
4049 | | - | |
| 4058 | + | |
4050 | 4059 | | |
4051 | 4060 | | |
4052 | 4061 | | |
| |||
4512 | 4521 | | |
4513 | 4522 | | |
4514 | 4523 | | |
| 4524 | + | |
4515 | 4525 | | |
4516 | 4526 | | |
4517 | 4527 | | |
| |||
0 commit comments