1. 19 2月, 2011 2 次提交
    • J
      [SCSI] lpfc 8.3.21: RRQ Implementation fixes · 1151e3ec
      James Smart 提交于
      RRQ Implementation fixes
      
      - Added checks to prevent a call to findnode_did in clr_active_rrq
      - Added the del_sync_timer call for the rrq_tmr to the stop_hba_timers routine.
      - Added a check in __lpfc_set_active_rrq for the driver unloading to prevent
        adding an rrq when the driver is being removed.
      - Add code to scsi_iocb_cmpl to check for the remote stop and add the rrq.
      - Added the same check to els retry.
      - Added code to compare the source did in the els rrq to the vports did and
        chose the right exchange ID.
      - Initialize the start_cmd pointer to indicate when we have looped through
        all of the scsi buffers.
      - Remove the need for the lock around the clearing of the active bit in the
        rrq.
      - Added code to clean the els and fcp xri aborted list and remove the all of
        the RRQs for a deleted vport.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      1151e3ec
    • J
      [SCSI] lpfc 8.3.21: Critical Errors and Bug Fixes · fedd3b7b
      James Smart 提交于
      Critical Errors:
      - Correctly handle non-zero return lpfc_workq_post_event and return ENOMEM
      - Save the irq level when locking the host_lock in lpfc_findnode_did
      
      Bug Fixes:
      - Adjust payload_length and request_length for sli4_config mailbox commands.
      - Add the freed sgl/XRI to the tail of the list rather than to the head.
      - Set the FC_VPORT_NEEDS_INIT_VPI on vport deletes and check it before
        issuing a fdisc on an els retry.
      - Only call lpfc_hba_init_link() if phba->cfg_suppress_link_up
        is LPFC_INITIALIZE_LINK.
      - Add support for SLI-4 Performance Hints
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      fedd3b7b
  2. 04 1月, 2011 1 次提交
  3. 03 1月, 2011 1 次提交
  4. 22 12月, 2010 11 次提交
  5. 17 11月, 2010 1 次提交
    • J
      SCSI host lock push-down · f281233d
      Jeff Garzik 提交于
      Move the mid-layer's ->queuecommand() invocation from being locked
      with the host lock to being unlocked to facilitate speeding up the
      critical path for drivers who don't need this lock taken anyway.
      
      The patch below presents a simple SCSI host lock push-down as an
      equivalent transformation.  No locking or other behavior should change
      with this patch.  All existing bugs and locking orders are preserved.
      
      Additionally, add one parameter to queuecommand,
      	struct Scsi_Host *
      and remove one parameter from queuecommand,
      	void (*done)(struct scsi_cmnd *)
      
      Scsi_Host* is a convenient pointer that most host drivers need anyway,
      and 'done' is redundant to struct scsi_cmnd->scsi_done.
      
      Minimal code disturbance was attempted with this change.  Most drivers
      needed only two one-line modifications for their host lock push-down.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Acked-by: NJames Bottomley <James.Bottomley@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f281233d
  6. 02 11月, 2010 1 次提交
  7. 26 10月, 2010 7 次提交
  8. 08 10月, 2010 7 次提交
  9. 06 9月, 2010 2 次提交
  10. 11 8月, 2010 1 次提交
  11. 09 8月, 2010 1 次提交
  12. 07 8月, 2010 3 次提交
  13. 06 8月, 2010 1 次提交
  14. 28 7月, 2010 1 次提交