1. 02 3月, 2022 4 次提交
  2. 23 2月, 2022 1 次提交
  3. 08 2月, 2022 1 次提交
  4. 29 11月, 2021 1 次提交
  5. 04 11月, 2021 1 次提交
  6. 22 10月, 2021 1 次提交
  7. 17 10月, 2021 3 次提交
  8. 22 9月, 2021 1 次提交
  9. 18 8月, 2021 1 次提交
  10. 12 8月, 2021 4 次提交
  11. 21 7月, 2021 3 次提交
  12. 01 6月, 2021 5 次提交
  13. 06 4月, 2021 1 次提交
  14. 05 3月, 2021 2 次提交
  15. 23 1月, 2021 1 次提交
  16. 08 10月, 2020 1 次提交
  17. 08 5月, 2020 1 次提交
  18. 23 4月, 2020 1 次提交
  19. 29 2月, 2020 1 次提交
  20. 09 11月, 2019 1 次提交
  21. 02 11月, 2019 1 次提交
    • M
      scsi: core: avoid host-wide host_busy counter for scsi_mq · 6eb045e0
      Ming Lei 提交于
      It isn't necessary to check the host depth in scsi_queue_rq() any more
      since it has been respected by blk-mq before calling scsi_queue_rq() via
      getting driver tag.
      
      Lots of LUNs may attach to same host and per-host IOPS may reach millions,
      so we should avoid expensive atomic operations on the host-wide counter in
      the IO path.
      
      This patch implements scsi_host_busy() via blk_mq_tagset_busy_iter() with
      one scsi command state for reading the count of busy IOs for scsi_mq.
      
      It is observed that IOPS is increased by 15% in IO test on scsi_debug (32
      LUNs, 32 submit queues, 1024 can_queue, libaio/dio) in a dual-socket
      system.
      
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Ewan D. Milne <emilne@redhat.com>
      Cc: Omar Sandoval <osandov@fb.com>,
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
      Cc: James Bottomley <james.bottomley@hansenpartnership.com>,
      Cc: Christoph Hellwig <hch@lst.de>,
      Cc: Kashyap Desai <kashyap.desai@broadcom.com>
      Cc: Hannes Reinecke <hare@suse.de>
      Cc: Laurence Oberman <loberman@redhat.com>
      Cc: Bart Van Assche <bvanassche@acm.org>
      Link: https://lore.kernel.org/r/20191025065855.6309-1-ming.lei@redhat.comSigned-off-by: NMing Lei <ming.lei@redhat.com>
      Reviewed-by: NJens Axboe <axboe@kernel.dk>
      Reviewed-by: NBart Van Assche <bvanassche@acm.org>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      6eb045e0
  22. 23 7月, 2019 1 次提交
    • P
      scsi: core: add support for request batching · 8930a6c2
      Paolo Bonzini 提交于
      This allows a list of requests to be issued, with the LLD only writing the
      hardware doorbell when necessary, after the last request was prepared.
      This is more efficient if we have lists of requests to issue, particularly
      on virtualized hardware, where writing the doorbell is more expensive than
      on real hardware.
      
      The use case for this is plugged IO, where blk-mq flushes a batch of
      requests all at once.
      
      The API is the same as for blk-mq, just with blk-mq concepts tweaked to
      fit the SCSI subsystem API: the "last" flag in blk_mq_queue_data becomes a
      flag in scsi_cmnd, while the queue_num in the commit_rqs callback is
      extracted from the hctx and passed as a parameter.
      
      The only complication is that blk-mq uses different plugging heuristics
      depending on whether commit_rqs is present or not.  So we have two
      different sets of blk_mq_ops and pick one depending on whether the
      scsi_host template uses commit_rqs or not.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NBart Van Assche <bvanassche@acm.org>
      Reviewed-by: NMing Lei <ming.lei@redhat.com>
      Reviewed-by: NHannes Reinecke <hare@suse.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      8930a6c2
  23. 27 2月, 2019 1 次提交
  24. 13 2月, 2019 1 次提交
  25. 06 2月, 2019 1 次提交