I'd like to find out what SAM codes in Tgtd notify open-iscsi & block
layer to
retry a failed

To clarify, in the current tgtd backing store code (bs_rdwr.c), a
failed read or writes
sets the following:
static void set_medium_error(int *result, uint8_t *key, uint16_t *asc
        *result = SAM_STAT_CHECK_CONDITION;
        *key = MEDIUM_ERROR;
        *asc = ASC_READ_ERROR;

While this retries failed reads, failed writes are not retried.   Is
there a
particular code that will notify the open-iscsi / client block layer
to retry the
I/O operation?


You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to