Re: [PATCH] OOPS due to clearing eh_action prior to aborting eh command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




James Bottomley wrote:
> On Wed, 2005-12-07 at 16:16 -0600, Michael Reed wrote: 
>> FWIW, the situation I'm reporting isn't done after timeout, it's
>> the scsi error handler calling the LLDD abort routine, which actually
>> aborts the command and completes it.  The eh_action is cleared before
>> the abort, violating what appears to be the accepted protocol of having
>> the LLDD complete aborted commands.
>>
>> Am I missing something in your comment?  (It wouldn't surprise me!)
> 
> The timeout race still exists, though.  Both fixes would solve both
> problems. It would just be easier to follow if the logic of the error
> handler done follows that of the normal done function (i.e. don't do
> anything after the command times out).

"Ah ha", he said.  Further examination of the code clarifies what you were
suggesting.  I'll see what I can work up.

Thanks,
 Mike
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux