diff options
author | 2019-07-25 17:41:46 +0800 | |
---|---|---|
committer | 2019-08-04 21:43:12 -0600 | |
commit | 556f36e90dbe7dded81f4fac084d2bc8a2458330 (patch) | |
tree | d8e04c7dfcdf85432ca737c35250a23091c869a2 /drivers/lightnvm | |
parent | scsi: implement .cleanup_rq callback (diff) | |
download | wireguard-linux-556f36e90dbe7dded81f4fac084d2bc8a2458330.tar.xz wireguard-linux-556f36e90dbe7dded81f4fac084d2bc8a2458330.zip |
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 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions