I'd like to find out what SCSI codes in Tgtd notify the block layer to retry a failed I/O. For example, 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 client block layer to retry the I/O operation? Thanks Suresh -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html