I'd like to find out what SAM codes in Tgtd notify open-iscsi & block
layer to
retry a failed
I/O.
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?
Thanks
Suresh
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.