1. 09 6月, 2009 1 次提交
  2. 21 5月, 2009 3 次提交
  3. 03 4月, 2009 3 次提交
  4. 11 2月, 2009 2 次提交
  5. 25 1月, 2009 1 次提交
  6. 08 1月, 2009 4 次提交
  7. 30 12月, 2008 3 次提交
  8. 13 10月, 2008 1 次提交
    • M
      [SCSI] qla2xxx: use new host byte transport errors. · 056a4483
      Mike Christie 提交于
      This has qla2xxx use the new transport error values instead of
      DID_BUS_BUSY. I am not sure if all the errors
      in qla_isr.c I changed are transport related. We end up blocking/deleting
      the rport for all of them so it is better to use the new transport error since
      the fc classs will decide when to fail the IO.
      
      With this patch if I pull a cable then IO that had reached
      the driver, will be failed with DID_TRANSPORT_DISRUPTED (not including
      tape). The fc class will then fail the IO when the fast io fail tmo
      has fired, and the driver will flush any other commands running.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      056a4483
  9. 04 10月, 2008 3 次提交
  10. 14 9月, 2008 1 次提交
    • A
      [SCSI] qla2xxx: Defer enablement of RISC interrupts until ISP initialization completes. · 048feec5
      Andrew Vasquez 提交于
      Josip Rodin noted
      (http://article.gmane.org/gmane.linux.ports.sparc/10152) the
      driver oopsing during registration of an rport to the
      FC-transport layer with a backtrace indicating a dereferencing of
      an shost->shost_data equal to NULL.  David Miller identified a
      small window in driver logic where this could happen:
      
          > Look at how the driver registers the IRQ handler before the host has
          > been registered with the SCSI layer.
          >
          > That leads to a window of time where the shost hasn't been setup
          > fully, yet ISRs can come in and trigger DPC thread events, such as
          > loop resyncs, which expect the transport area to be setup.
          >
          > But it won't be setup, because scsi_add_host() hasn't finished yet.
          >
          > Note that in Josip's crash log, we don't even see the
          >
          >         qla_printk(KERN_INFO, ha, "\n"
          >             " QLogic Fibre Channel HBA Driver: %s\n"
          >             "  QLogic %s - %s\n"
          >             "  ISP%04X: %s @ %s hdma%c, host#=%ld, fw=%s\n",
          >  ...
          >
          > message yet.
          >
          > Which means that the crash occurs between qla2x00_request_irqs()
          > and printing that message.
      
      Close this window by enabling RISC interrupts after the host has
      been registered with the SCSI midlayer.
      Reported-by: NJosip Rodin <joy@entuzijast.net>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      048feec5
  11. 16 8月, 2008 2 次提交
  12. 27 7月, 2008 1 次提交
  13. 31 5月, 2008 1 次提交
  14. 15 5月, 2008 2 次提交
  15. 28 4月, 2008 1 次提交
  16. 08 4月, 2008 7 次提交
  17. 04 3月, 2008 1 次提交
  18. 08 2月, 2008 1 次提交
  19. 24 1月, 2008 2 次提交