Re: [PATCH 0/2] scsi command timeout fixes

2014-06-13 Thread h...@infradead.org
On Fri, Jun 13, 2014 at 04:52:52PM +, James Bottomley wrote: > If you're seeing double completions it's either because we have a bug in > SCSI and are doing something with the command before we know block has > relinquished it. That's actually why this bug was so serious: Note that drivers or

Re: [PATCH 0/2] scsi command timeout fixes

2014-06-13 Thread James Bottomley
On Fri, 2014-06-13 at 14:01 +0200, Hannes Reinecke wrote: > Hi all, > > I've received reports claiming they're seeing a double command completion > occasionally when a command timeout happens. > > Delving into it I found this this indeed might happening; reason being > that the LLDD will only be

[PATCH 0/2] scsi command timeout fixes

2014-06-13 Thread Hannes Reinecke
Hi all, I've received reports claiming they're seeing a double command completion occasionally when a command timeout happens. Delving into it I found this this indeed might happening; reason being that the LLDD will only be informed about a timed-out command by calling scsi_try_to_abort_command(