diff options
author | Jens Axboe | 2016-08-24 15:38:01 -0600 |
---|---|---|
committer | Jens Axboe | 2016-08-24 15:38:01 -0600 |
commit | 0e87e58bf60edb6bb28e493c7a143f41b091a5e5 (patch) | |
tree | f7da272dc09742028a98b3503ad32bf1f2db3c8d /fs | |
parent | e57690fe009b2ab0cee8a57f53be634540e49c9d (diff) |
blk-mq: improve warning for running a queue on the wrong CPU
__blk_mq_run_hw_queue() currently warns if we are running the queue on a
CPU that isn't set in its mask. However, this can happen if a CPU is
being offlined, and the workqueue handling will place the work on CPU0
instead. Improve the warning so that it only triggers if the batch cpu
in the hardware queue is currently online. If it triggers for that
case, then it's indicative of a flow problem in blk-mq, so we want to
retain it for that case.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions