Re: [PATCH] saved and restore result for timed out commands

Patrick Mansfield
2005-06-01T21:57:52Z

On Wed, Jun 01, 2005 at 05:26:34PM -0400, Alan Stern wrote:
> On Wed, 1 Jun 2005, James Bottomley wrote:
>
> > On Wed, 2005-06-01 at 14:45 -0400, Alan Stern wrote:
> > > Has there been any more progress on this issue?
> >
> > Well, the patch is in scsi-misc, if that's what you're asking.
>
> That's good. Is it too much to ask for an additional patch to zero out
> the sense data buffer after the error handler has finished with a command?
> After a transport error or a timeout there shouldn't be any sense data
> (races aside), but the error handler often leaves apparently valid data in
> the buffer, unrelated to the original command.

I was hoping someone else might comment on that, I am not certain if sense
data is valid only when CHECK_CONDITION is set.

But, we can zero/clear it after the TUR without hurting anything.

-- Patrick Mansfield