Re: [PATCH v2 6/7] SRP transport: Port srp_wait_for_queuecommand() to scsi-mq
From: Hannes Reinecke <hare@suse.de>
Date: 2016-09-29 05:54:32
Also in:
linux-nvme, linux-rdma, linux-scsi
From: Hannes Reinecke <hare@suse.de>
Date: 2016-09-29 05:54:32
Also in:
linux-nvme, linux-rdma, linux-scsi
On 09/29/2016 02:01 AM, Bart Van Assche wrote:
Ensure that if scsi-mq is enabled that srp_wait_for_queuecommand() waits until ongoing shost->hostt->queuecommand() calls have finished. Signed-off-by: Bart Van Assche <redacted> Cc: James Bottomley <redacted> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: Doug Ledford <redacted> --- drivers/scsi/scsi_transport_srp.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)