1. 12 7月, 2008 3 次提交
  2. 10 4月, 2008 2 次提交
    • J
      [SCSI] lpfc 8.2.6 : Miscellaneous Fixes · 97eab634
      James Smart 提交于
      Miscellaneous Fixes
      - Allow WRITE_VPARAM command when the virtual port is in a stopped state
      - Fixed handling of our queue depth max that was unconditionally raising
        the depth on all vports, rather than just the vport affected.
      - Fix race in interrupt handler for mailbox processing that did not take
        out the host lock.
      - Removed unused functions: find_node, findnode_rpi, and fabric_abort_flogi
      - Correct misspelled word unsolicited in message 0146
      - Correct HW-error 5 handling - it should not reset the adapter
      - Correct handling of IOCBs, which did not null out our pCmd field before
        invoking the midlayer io done function.
      - Changed our maximum supported target id to 4096
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      97eab634
    • J
      [SCSI] lpfc 8.2.6 : Multiple discovery fixes · 58da1ffb
      James Smart 提交于
      Multiple Discovery Fixes:
      - Fix race on discovery due to link events coinciding with vport_delete.
      - Use NLP_FABRIC state to filter out switch-based pseudo initiators that
         reuse the same WWNs.
      - Correct erroneous setting of DID=0 in lpfc_matchdid()
      - Correct extra reference count that was in the lookup path for the
        remoteid from an unsolicited ELS.
      - Correct double-free bug in els abort path.
      - Correct FDMI server discovery logic for switch that return a WWN of 0.
      - Fix bugs in ndlp mgmt when a node changes address
      - Correct bug that did not delete RSCNs for vports upon link transitions
      - Fix "0216 Link event during NS query" error which pops up when vports
        are swapped to different switch ports.
      - Add sanity checks on ndlp structures
      - Fix devloss log message to dump WWN correctly
      - Hold off mgmt commands that were interferring with discovery mailbox cmds
      - Remove unnecessary FC_ESTABLISH_LINK logic.
      - Correct some race conditions in the worker thread, resulting in devloss:
        - Clear the work_port_events field before handling the work port events
        - Clear the deferred ring event before handling a deferred ring event
        - Hold the hba lock when waking up the work thread
        - Send an acc for the rscn even when we aren't going to handle it
      - Fix locking behavior that was not properly protecting the ACTIVE flag,
        thus allowing mailbox command order to shift.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      58da1ffb
  3. 12 2月, 2008 1 次提交
  4. 31 1月, 2008 1 次提交
    • J
      [SCSI] remove use_sg_chaining · d3f46f39
      James Bottomley 提交于
      With the sg table code, every SCSI driver is now either chain capable
      or broken (or has sg_tablesize set so chaining is never activated), so
      there's no need to have a check in the host template.
      
      Also tidy up the code by moving the scatterlist size defines into the
      SCSI includes and permit the last entry of the scatterlist pools not
      to be a power of two.
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      d3f46f39
  5. 24 1月, 2008 3 次提交
    • J
      [SCSI] lpfc 8.2.4 : Add additional sysfs and module parameters · 83108bd3
      James Smart 提交于
      Made link speed and link topology modifiable via sysfs
      Make scatter gather Segment Count into a module parameter.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      83108bd3
    • J
      [SCSI] lpfc 8.2.4 : Miscellaneous Fixes · 09372820
      James Smart 提交于
      Miscellaneous Fixes:
      - Fix a couple of sparse complaints
      - Reset the FCP recovery flag when the node is not a FCP2 device.
      - Speed up offline prep delays
      - Fixed a memory leak in lpfc_mem_alloc failure path
      - Fixed external loopback test.
      - Fixed error code returned from the driver when HBA is over heated.
      - Correct Max NPIV vport to limits read from adapter
      - Add missing locks around fc_flag and FC_NEEDS_REG_VPI
      - Add missing hba ids for device identification
      - Added support for SET_VARIABLE and MBX_WRITE_WWN mailbox commands
      - Changed all temperature event messages from warning to error
      - Fix reporting of link speed when link is down
      - Added support for MBX_WRITE_WWN mailbox command
      - Change del_timer_sync() in ISR to del_timer() in interrupt handler
      - Correct instances of beXX_to_cpu() that should be cpu_to_beXX()
      - Perform target flush before releasing node references on module unload
      - Avoid bogus devloss_tmo messages when driver unloads
      - Fix panic when HBA generates ERATT interupt
      - Fix mbox race condition and a workaround on back-to-back mailbox commands
      - Force NPIV off for pt2pt mode between 2 NPorts
      - Stop worker thread before removing fc_host.
      - Fix up discovery timeout error case due to missing clear_la
      - Tighten mailbox polling code to speed up detection of fast completions
      - Only allow DUMP_MEMORY if adapter offline due to overtemp errors
      - Added extended error information to the log messages in chip init.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      09372820
    • J
      [SCSI] lpfc 8.2.4 : Correct abort handler logic · fa61a54e
      James Smart 提交于
      Correct Abort handler logic. It was unconditionally waiting a minimum
      of 2 seconds rather than looking for abort completion.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      fa61a54e
  6. 04 11月, 2007 1 次提交
  7. 16 10月, 2007 1 次提交
  8. 13 10月, 2007 1 次提交
  9. 04 8月, 2007 1 次提交
  10. 02 8月, 2007 4 次提交
  11. 15 7月, 2007 2 次提交
  12. 18 6月, 2007 5 次提交
  13. 06 5月, 2007 5 次提交
  14. 03 12月, 2006 2 次提交
  15. 05 9月, 2006 1 次提交
  16. 20 8月, 2006 1 次提交
    • J
      [SCSI] lpfc 8.1.9 : Stall eh handlers if resetting while rport blocked · a90f5684
      James Smart 提交于
      Stall error handler if attempting resets/aborts while an rport is blocked.
      This avoids device offline scenarios due to errors in the error handler.
      
      Background:
        Although the transport is using the scsi_timed_out functionality to
        restart the timeout if the rport is blocked, if the timeout has already
        fired before the block occurs, the eh handler still runs and can take
        the device offline. Ultimately, this window cannot be resolved without
        significant work in the error handler thread. Christoph noted the first
        level of these issues when he noted the poor error response handling
        by the error thread.
      
        We found, under heavy load and error testing, that time window from when
        the scsi_times_out() adds the io to the queue to when the scsi_error_handler
        gets around to servicing it, can be in the several seconds range. In most
        cases, these test conditions are highly unusual, but possible.
        As a result, we're stalling the error handler in this race window so that
        we can avoid the device_offline transitions.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      a90f5684
  17. 07 8月, 2006 1 次提交
  18. 09 7月, 2006 3 次提交
  19. 27 6月, 2006 1 次提交
  20. 04 5月, 2006 1 次提交