Multi queue devices which use managed IRQs should only allocate queuesReviewed-by: Hannes Reinecke <hare@xxxxxxx>
for the housekeeping CPUs when isolcpus is set. This avoids that the
isolated CPUs get disturbed with OS workload.
Add a helper which calculates the correct number of queues which should
be used.
Signed-off-by: Daniel Wagner <dwagner@xxxxxxx>
---
block/blk-mq-cpumap.c | 20 ++++++++++++++++++++
include/linux/blk-mq.h | 1 +
2 files changed, 21 insertions(+)