Add RESERVATION CONFLICT

From Richard Sharpe,  add support to handle when a target responds with
RESERVATION CONFLICT to a scsi i/o
This commit is contained in:
Ronnie Sahlberg
2011-04-09 11:59:12 +10:00
parent bceb3d058d
commit cfe19486ee
2 changed files with 13 additions and 9 deletions

View File

@@ -214,10 +214,11 @@ int iscsi_is_logged_in(struct iscsi_context *iscsi);
enum scsi_status {
SCSI_STATUS_GOOD = 0,
SCSI_STATUS_CHECK_CONDITION = 2,
SCSI_STATUS_CANCELLED = 0x0f000000,
SCSI_STATUS_ERROR = 0x0f000001
SCSI_STATUS_GOOD = 0,
SCSI_STATUS_CHECK_CONDITION = 2,
SCSI_STATUS_RESERVATION_CONFLICT = 0x18,
SCSI_STATUS_CANCELLED = 0x0f000000,
SCSI_STATUS_ERROR = 0x0f000001
};