scsi: target/core: Add target_send_busy()
authorBart Van Assche <bvanassche@acm.org>
Fri, 25 Jan 2019 18:34:47 +0000 (10:34 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Feb 2019 02:28:48 +0000 (21:28 -0500)
commit94ebb47160085343ecaaeab90fa7ffbb86030613
tree2c797cc30c77dc78d8a4b4a312b9821ffc5fb7cd
parent83f85b8ec305be9d65284de2921d8eeb6c7fcf12
scsi: target/core: Add target_send_busy()

Introduce a function that sends the SCSI status "BUSY" back to the
initiator. The next patch will add a call to this function in the srpt
target driver.

Reviewed-by: Hannes Reinecke <hare@suse.com>
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/target/target_core_transport.c
include/target/target_core_fabric.h