On Thu, Dec 03, 2015 at 08:17:41AM +0100, Hannes Reinecke wrote: > To detect if a failed command has been retried we must not > clear scmd->eh_eflags when EH finishes. > The flag should be persistent throughout the lifetime > of the command. So we save away eh_eflags before potentially reusing the command and the restore it. Seems seems fine, but an explanation of what this fixes would be very helpful as the behavior seems to be around basically forever. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html