Re: [PATCH 3/3] [SCSI] Fix command result state propagation

2014-03-31 Thread Hannes Reinecke
On 03/28/2014 06:51 PM, James Bottomley wrote: From: Alan Stern st...@rowland.harvard.edu We're seeing a case where the contents of scmd-result isn't being reset after a SCSI command encounters an error, is resubmitted, times out and then gets handled. The error handler acts on the stale

[PATCH 3/3] [SCSI] Fix command result state propagation

2014-03-28 Thread James Bottomley
From: Alan Stern st...@rowland.harvard.edu We're seeing a case where the contents of scmd-result isn't being reset after a SCSI command encounters an error, is resubmitted, times out and then gets handled. The error handler acts on the stale result of the previous error instead of the timeout.