When isolcpus=managed_irq is enabled, and the last housekeeping CPU forReviewed-by: Hannes Reinecke <hare@xxxxxxx>
a given hardware context goes offline, there is no CPU left which
handles the IOs anymore. If isolated CPUs mapped to this hardware
context are online and an application running on these isolated CPUs
issue an IO this will lead to stalls.
The kernel will not schedule IO to isolated CPUS thus this avoids IO
stalls.
Thus issue a warning when housekeeping CPUs are offlined for a hardware
context while there are still isolated CPUs online.
Signed-off-by: Daniel Wagner <wagi@xxxxxxxxxx>
---
block/blk-mq.c | 43 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)