1. 10 4月, 2015 1 次提交
    • J
      lpfc: Fix host reset escalation killing all IOs. · ea4142f6
      James Smart 提交于
      Fix host reset escalation killing all IOs.
      
      SLI-3 adapters will use a new host template. The template differs
      from SLI-4 adapters in that it does not have an eh_host_reset_handler.
      
      Lpfc has traditionally never had a host_reset. The host reset
      handler was added when we ran into a stuck hardware condition on a
      SLI-4 adapter. The host_reset will reset and reinit the pci function,
      clearing the hardware condition.
      
      Unfortunately, the host reset handler uses attach/detach code paths,
      which makes scsi_add_host() and scsi_remove_host() calls. Meaning, a
      host_reset will completely remove the scsi_host from the system. As a
      new call to scsi_add_host() is made, the shost# changes, which results
      in completely new scsi_devices and device names. All the older scsi
      devices on the old shost# are now orphaned and unrecoverable.
      
      We realize we need to re-implement the host_reset_handler so the scsi_host
      stays registered across the host_reset, but that will be a rather
      lengthy effort. In the short term, we had an immediate need to restore
      the SLI-3 devices to their working behavior, with the easiest path being
      to remove their host_reset handler.
      Signed-off-by: NDick Kennedy <dick.kennedy@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Reviewed-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      ea4142f6
  2. 04 12月, 2014 1 次提交
  3. 24 11月, 2014 3 次提交
  4. 12 11月, 2014 4 次提交
  5. 17 9月, 2014 4 次提交
  6. 18 7月, 2014 1 次提交
  7. 03 6月, 2014 5 次提交
  8. 16 3月, 2014 4 次提交
  9. 25 10月, 2013 2 次提交
  10. 11 9月, 2013 6 次提交
  11. 24 8月, 2013 3 次提交
  12. 27 6月, 2013 5 次提交
  13. 03 5月, 2013 1 次提交