diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-07-25 17:41:46 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-04 21:43:12 -0600 |
commit | 556f36e90dbe7dded81f4fac084d2bc8a2458330 (patch) | |
tree | d8e04c7dfcdf85432ca737c35250a23091c869a2 /include/linux | |
parent | b7e9e1fb7a9227be34ad4a5e778022c3164494cf (diff) |
blk-mq: balance mapping between present CPUs and queues
Spread queues among present CPUs first, then building mapping on other
non-present CPUs.
So we can minimize count of dead queues which are mapped by un-present
CPUs only. Then bad IO performance can be avoided by unbalanced mapping
between present CPUs and queues.
The similar policy has been applied on Managed IRQ affinity.
Cc: Yi Zhang <yi.zhang@redhat.com>
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions