Re: [PATCHv2 2/5] scsi: make eh_eflags persistent

Bart Van Assche
2017-02-27T22:21:59Z

On Wed, 2017-02-22 at 17:07 +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.

Hello Hannes,

Is it on purpose that this patch does not remove the following statement from
drivers/scsi/libsas/sas_scsi_host.c?

cmd->eh_eflags = 0;

Thanks,

Bart.