mbox series

[v4,0/5] io_uring iopoll in scsi layer

Message ID 20210215074048.19424-1-kashyap.desai@broadcom.com (mailing list archive)
Headers show
Series io_uring iopoll in scsi layer | expand

Message

Kashyap Desai Feb. 15, 2021, 7:40 a.m. UTC
This patch series is to support io_uring iopoll feature
in scsi stack. This patch set requires shared hosttag support.

This patch set is created on top of 5.12/scsi-staging branch.
https://kernel.googlesource.com/pub/scm/linux/kernel/git/mkp/scsi/+/refs/heads/5.12/scsi-staging

v4 ->
- Merge "[PATCH v3] scsi_debug: add new defer_type for mq_poll" into
  this series.
- Fix IO hang issue of above patch and created v4.  

v3 ->  
- added reviewed-by tag
- Fix comment provided by Hannes for below patch.
https://patchwork.kernel.org/project/linux-scsi/patch/20201203034100.29716-3-kashyap.desai@broadcom.com/
- Fix Functional issue of poll_queues settings not working in v2.

v2 -> 
- updated feedback from v1.
- added reviewed-by & tested-by tag
- remove flood of prints in scsi_debug driver during iopoll
  reported by Douglas Gilbert.
- added new patch to support to get shost from hctx.
  added new helper function "scsi_init_hctx"

v1 -> 
Fixed warnings in scsi_debug driver.
Reported-by: kernel test robot <lkp@intel.com>


Kashyap Desai (5):
  add io_uring with IOPOLL support in scsi layer
  megaraid_sas: iouring iopoll support
  scsi_debug : iouring iopoll support
  scsi_debug: add new defer type for mq poll
  scsi: set shost as hctx driver_data

 drivers/scsi/megaraid/megaraid_sas.h        |   3 +
 drivers/scsi/megaraid/megaraid_sas_base.c   |  87 +++++++-
 drivers/scsi/megaraid/megaraid_sas_fusion.c |  42 +++-
 drivers/scsi/megaraid/megaraid_sas_fusion.h |   2 +
 drivers/scsi/scsi_debug.c                   | 226 +++++++++++++++++---
 drivers/scsi/scsi_lib.c                     |  29 ++-
 include/scsi/scsi_cmnd.h                    |   1 +
 include/scsi/scsi_host.h                    |  11 +
 8 files changed, 359 insertions(+), 42 deletions(-)


base-commit: d39bfd0686fd2b21f857c61bb2753db3a932cb24

Comments

Martin K. Petersen March 4, 2021, 3:27 a.m. UTC | #1
Kashyap,

> This patch series is to support io_uring iopoll feature in scsi
> stack. This patch set requires shared hosttag support.

Applied to 5.13/scsi-staging, thanks!