SCSI Add support for STATUS_BUSY
Add support for BUSY status coide from the target and just pass this back to the application as is (instead of converting it to _ERROR). This allows the application to trap task->status==SCSI_STATUS_BUSY and decide what/how to proceed.
This commit is contained in:
@@ -264,6 +264,7 @@ EXTERN int iscsi_is_logged_in(struct iscsi_context *iscsi);
|
||||
enum scsi_status {
|
||||
SCSI_STATUS_GOOD = 0,
|
||||
SCSI_STATUS_CHECK_CONDITION = 2,
|
||||
SCSI_STATUS_BUSY = 8,
|
||||
SCSI_STATUS_RESERVATION_CONFLICT = 0x18,
|
||||
SCSI_STATUS_REDIRECT = 0x101,
|
||||
SCSI_STATUS_CANCELLED = 0x0f000000,
|
||||
|
||||
Reference in New Issue
Block a user