]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: RDMA/srpt: Fix handling of command / TMF submission failure
authorBart Van Assche <bvanassche@acm.org>
Fri, 25 Jan 2019 18:34:48 +0000 (10:34 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Feb 2019 02:29:45 +0000 (21:29 -0500)
commit539f3f71a100833bb601cf30ef8b3ee884fc0a88
tree1860d87595a69ce01500b2832c0e8aff810bf3ef
parent4bda000e6523ffc906acc65658c748380b732799
scsi: RDMA/srpt: Fix handling of command / TMF submission failure

If submitting an SRP IU to the target core fails, send the SCSI response
"BUSY" to the initiator instead of not sending any response.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/infiniband/ulp/srpt/ib_srpt.c