summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_bsg.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-05-30 13:28:11 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-07-22 16:44:07 -0400
commit9e5470fe2d61bd87c27c7722099bafab277f81ec (patch)
tree9cbca4e9d938b301a778d2bf5349ac68d10a5fc4 /drivers/scsi/lpfc/lpfc_bsg.c
parent8930a6c207918d5a5675eedab06a71096b1a3d47 (diff)
scsi: virtio_scsi: implement request batching
Adding the command and kicking the virtqueue so far was done one after another. Make the kick optional, so that we can take into account SCMD_LAST. We also need a commit_rqs callback to kick the device if blk-mq aborts the submission before the last request is reached. Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_bsg.c')
0 files changed, 0 insertions, 0 deletions