Commit 4d80513
blk-mq: figure out correct numa node for hw queue
The current code always uses default queue map and hw queue index
for figuring out the numa node for hw queue, this way isn't correct
because blk-mq supports three queue maps, and the correct queue map
should be used for the specified hw queue.
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-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 15729ff commit 4d80513
1 file changed
+30
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
3110 | 3137 | | |
3111 | 3138 | | |
3112 | 3139 | | |
3113 | 3140 | | |
3114 | 3141 | | |
| 3142 | + | |
3115 | 3143 | | |
3116 | | - | |
3117 | 3144 | | |
3118 | | - | |
3119 | 3145 | | |
3120 | 3146 | | |
3121 | 3147 | | |
| |||
3164 | 3190 | | |
3165 | 3191 | | |
3166 | 3192 | | |
| 3193 | + | |
3167 | 3194 | | |
3168 | | - | |
3169 | 3195 | | |
3170 | | - | |
3171 | 3196 | | |
3172 | 3197 | | |
3173 | 3198 | | |
| |||
3941 | 3966 | | |
3942 | 3967 | | |
3943 | 3968 | | |
3944 | | - | |
| 3969 | + | |
3945 | 3970 | | |
3946 | 3971 | | |
3947 | | - | |
3948 | 3972 | | |
3949 | 3973 | | |
3950 | 3974 | | |
| |||
0 commit comments