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

2017-02-28 Thread Hannes Reinecke
On 02/27/2017 11:15 PM, Bart Van Assche wrote: > 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

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

2017-02-27 Thread Bart Van Assche
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

[PATCHv2 2/5] scsi: make eh_eflags persistent

2017-02-22 Thread Hannes Reinecke
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. Reviewed-by: Johannes Thumshirn Signed-off-by: Hannes Reinecke ---