]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit613cd90a29c9a4adcb9d4c1f2f81248c6e542df7
tree2c797cc30c77dc78d8a4b4a312b9821ffc5fb7cd
parentc566e4d238f177dca81b3931e5a2d634d22b051d
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