1. 01 8月, 2020 1 次提交
  2. 28 7月, 2020 1 次提交
  3. 10 7月, 2020 1 次提交
  4. 09 7月, 2020 2 次提交
  5. 02 7月, 2020 1 次提交
  6. 01 7月, 2020 5 次提交
  7. 30 6月, 2020 6 次提交
  8. 29 6月, 2020 2 次提交
  9. 24 6月, 2020 10 次提交
  10. 18 6月, 2020 1 次提交
    • W
      block: update hctx map when use multiple maps · fe35ec58
      Weiping Zhang 提交于
      There is an issue when tune the number for read and write queues,
      if the total queue count was not changed. The hctx->type cannot
      be updated, since __blk_mq_update_nr_hw_queues will return directly
      if the total queue count has not been changed.
      
      Reproduce:
      
      dmesg | grep "default/read/poll"
      [    2.607459] nvme nvme0: 48/0/0 default/read/poll queues
      cat /sys/kernel/debug/block/nvme0n1/hctx*/type | sort | uniq -c
           48 default
      
      tune the write queues to 24:
      echo 24 > /sys/module/nvme/parameters/write_queues
      echo 1 > /sys/block/nvme0n1/device/reset_controller
      
      dmesg | grep "default/read/poll"
      [  433.547235] nvme nvme0: 24/24/0 default/read/poll queues
      
      cat /sys/kernel/debug/block/nvme0n1/hctx*/type | sort | uniq -c
           48 default
      
      The driver's hardware queue mapping is not same as block layer.
      Signed-off-by: NWeiping Zhang <zhangweiping@didiglobal.com>
      Reviewed-by: NMing Lei <ming.lei@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      fe35ec58
  11. 07 6月, 2020 1 次提交
  12. 30 5月, 2020 8 次提交
  13. 27 5月, 2020 1 次提交