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:
Ronnie Sahlberg
2013-01-01 10:15:56 -08:00
parent d9664cb26a
commit 065319f996
2 changed files with 7 additions and 0 deletions

View File

@@ -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,