1. 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
  2. 04 11月, 2007 1 次提交
  3. 16 10月, 2007 1 次提交
  4. 13 10月, 2007 1 次提交
  5. 04 8月, 2007 1 次提交
  6. 02 8月, 2007 4 次提交
  7. 15 7月, 2007 2 次提交
  8. 18 6月, 2007 5 次提交
  9. 06 5月, 2007 5 次提交
  10. 03 12月, 2006 2 次提交
  11. 05 9月, 2006 1 次提交
  12. 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
  13. 07 8月, 2006 1 次提交
  14. 09 7月, 2006 3 次提交
  15. 27 6月, 2006 1 次提交
  16. 04 5月, 2006 1 次提交
  17. 06 3月, 2006 1 次提交
  18. 01 3月, 2006 2 次提交
  19. 13 1月, 2006 1 次提交
  20. 14 12月, 2005 3 次提交
    • J
    • J
      [SCSI] lpfc 8.1.1 : Add polled-mode support · 875fbdfe
      James.Smart@Emulex.Com 提交于
      - Add functionality to run in polled mode only. Includes run time
        attribute to enable mode.
      - Enable runtime writable hba settings for coallescing and delay parameters
      
      Customers have requested a mode in the driver to run strictly polled.
      This is generally to support an environment where the server is extremely
      loaded and is looking to reclaim some cpu cycles from adapter interrupt
      handling.
      
      This patch adds a new "poll" attribute, and the following behavior:
      
      if value is 0 (default):
        The driver uses the normal method for i/o completion. It uses the
        firmware feature of interrupt coalesing. The firmware allows a
        minimum number of i/o completions before an interrupt, or a maximum
        time delay between interrupts.  By default, the driver sets these
        to no delay (disabled) or 1 i/o - meaning coalescing is disabled.
      
        Attributes were provided to change the coalescing values, but it was
        a module-load time only and global across all adapters.
        This patch allows them to be writable on a per-adapter basis.
      
      if value is 1 :
        Interrupts are left enabled, expecting that the user has tuned the
        interrupt coalescing values. When this setting is enabled, the driver
        will attempt to service completed i/o whenever new i/o is submitted
        to the adapter. If the coalescing values are large, and the i/o
        generation rate steady, an interrupt will be avoided by servicing
        completed i/o prior to the coalescing thresholds kicking in. However,
        if the i/o completion load is high enough or i/o generation slow, the
        coalescion values will ensure that completed i/o is serviced in a timely
        fashion.
      
      if value is 3 :
        Turns off FCP i/o interrupts altogether. The coalescing values now have
        no effect. A new attribute "poll_tmo" (default 10ms) exists to set
        the polling interval for i/o completion. When this setting is enabled,
        the driver will attempt to service completed i/o and restart the
        interval timer whenever new i/o is submitted. This behavior allows for
        servicing of completed i/o sooner than the interval timer, but ensures
        that if no i/o is being issued, then the interval timer will kick in
        to service the outstanding i/o.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      875fbdfe
    • J
      [SCSI] lpfc 8.1.1 : Fixes to error handlers · 6175c02a
      James.Smart@Emulex.Com 提交于
      - Release task management command before counting outstanding commands.
        TMF was being erroneously counted as an active outstanding command.
      - Serialize EH calls and block requests when EH function is running.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      6175c02a