1. 18 May, 2018 1 commit
    • huhai's avatar
      blk-mq: clear hctx->dispatch_from when mappings change · d416c92c
      huhai authored
      When the number of hardware queues is changed, the drivers will call
      blk_mq_update_nr_hw_queues() to remap hardware queues. This changes
      the ctx mappings, but the current code doesn't clear the
      ->dispatch_from hint. This can result in dispatch_from pointing to
      a ctx that isn't mapped to the hctx anymore.
      
      Fixes: b347689f ("blk-mq-sched: improve dispatching from sw queue")
      Signed-off-by: default avatarhuhai <huhai@kylinos.cn>
      Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
      
      Moved the placement of the clearing to where we clear other items
      pertaining to the existing mapping, added Fixes line, and reworded
      the commit message.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      d416c92c
  2. 16 May, 2018 8 commits
  3. 15 May, 2018 1 commit
  4. 14 May, 2018 18 commits
  5. 11 May, 2018 7 commits
  6. 10 May, 2018 5 commits