Re: [PATCH 4/5] Do an agent reset on error recovery.

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

 



I wrote:
> Kristian Høgsberg wrote:
>> Also, implement the .eh_host_reset_handler callback instead of
>> .eh_abort_handler since that's what we're actually doing.
> 
> You reset the target port (or specifically, the fetch agent acting on
> that target port).  But the .eh_host_reset_handler is to "ask [the] host
> adapter to reset itself".
...
> But theoretic semantics aside:  Check drivers/scsi/scsi_error.c for what
> comes after one or another hostt->eh_ handler was called.  Do you want
> the subsequent call to scsi_report_bus_reset()?  Probably not.  But
> perhaps you want what comes after hostt->eh_device_reset_handler was called.

BTW, as you probably know there are different ways to (try to) bring an
SBP-2 target back to reason.  A while ago someone posted an extended
abort/reset scheme but I still haven't looked into it in detail and
tested it for its practical effects.
http://me.in-berlin.de/~s5r6/linux1394/work-in-progress/sbp2-scsi-abort-and-reset-of-non-responding-devices.patch
-- 
Stefan Richter
-=====-=-=== -=-- -=-==
http://arcgraph.de/sr/
-
To unsubscribe from this list: 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