1. 20 4月, 2006 1 次提交
  2. 27 3月, 2006 1 次提交
  3. 12 3月, 2006 5 次提交
  4. 03 3月, 2006 1 次提交
  5. 08 2月, 2006 2 次提交
  6. 05 2月, 2006 3 次提交
  7. 26 1月, 2006 2 次提交
  8. 15 1月, 2006 1 次提交
  9. 14 12月, 2005 3 次提交
  10. 29 10月, 2005 6 次提交
    • J
      [SCSI] update fc_transport for removal of block/unblock functions · 19a7b4ae
      James.Smart@Emulex.Com 提交于
      We recently went back to implement a board reset. When we perform the
      reset, we wanted to tear down the internal data structures and rebuild
      them. Unfortunately, when it came to the rport structure, things were
      odd. If we deleted them, the scsi targets and sdevs would be
      torn down. Not a good thing for a temporary reset. We could block the
      rports, but we either maintain the internal structures to keep the
      rport reference (perhaps even replicating what's in the transport),
      or we have to fatten the fc transport with new search routines to find
      the rport (and deal with a case of a dangling rport that the driver
      forgets).
      
      It dawned on me that we had actually reached this state incorrectly.
      When the fc transport first started, we did the block/unblock first, then
      added the rport interface. The purpose of block/unblock is to hide the
      temporary disappearance of the rport (e.g. being deleted, then readded).
      Why are we making the driver do the block/unblock ? We should be making
      the transport have only an rport add/delete, and the let the transport
      handle the block/unblock.
      
      So... This patch removes the existing fc_remote_port_block/unblock
      functions. It moves the block/unblock functionality into the
      fc_remote_port_add/delete functions.  Updates for the lpfc driver are
      included. Qlogic driver updates are also enclosed, thanks to the
      contributions of Andrew Vasquez. [Note: the qla2xxx changes are
      relative to the scsi-misc-2.6 tree as of this morning - which does
      not include the recent patches sent by Andrew]. The zfcp driver does
      not use the block/unblock functions.
      
      One last comment: The resulting behavior feels very clean. The LLDD is
      concerned only with add/delete, which corresponds to the physical
      disappearance.  However, the fact that the scsi target and sdevs are
      not immediately torn down after the LLDD calls delete causes an
      interesting scenario... the midlayer can call the xxx_slave_alloc and
      xxx_queuecommand functions with a sdev that is at the location the
      rport used to be. The driver must validate the device exists when it
      first enters these functions. In thinking about it, this has always
      been the case for the LLDD and these routines. The existing drivers
      already check for existence. However, this highlights that simple
      validation via data structure dereferencing needs to be watched.
      To deal with this, a new transport function, fc_remote_port_chkready()
      was created that LLDDs should call when they first enter these two
      routines. It validates the rport state, and returns a scsi result
      which could be returned. In addition to solving the above, it also
      creates consistent behavior from the LLDD's when the block and deletes
      are occuring.
      
      Rejections fixed up and
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      19a7b4ae
    • A
      [SCSI] Add an 'Issue LIP' device attribute in fc_transport class · 91ca7b01
      Andrew Vasquez 提交于
      Ok, here's a patch to add such a common API for fc transport users.
      Relevant LLD changes (lpfc and qla2xxx) also present.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      91ca7b01
    • J
      [SCSI] qla2xxx: put back label erroneously removed by eh_active patch · 28f22b03
      James Bottomley 提交于
      The label eh_dev_reset_done is still in use
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      28f22b03
    • A
      [SCSI] qla2xxx: remove eh_active checks in qla2xxx error handling · 9a41a62b
      Andrew Vasquez 提交于
      Here's a patch which drops the eh_active checks in the qla2xxx
      eh_handler callbacks.
      Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      9a41a62b
    • A
      fa90c54f
    • A
      [SCSI] qla2xxx: Add support to dynamically enable/disable ZIO. · 4fdfefe5
      Andrew Vasquez 提交于
      ISP23xx and ISP24xx chips have support for an adaptive
      method of posting SCSI command completions for multiple SCSI
      commands during a single system interrupt.
      
      SCSI commands are placed on the system response queue
      without interrupting the host until 1) a delay timer
      expires; or 2) a SCSI command completes with an error.
      
      As long as the host software (qla2xxx) services the response
      queue for completions (this polling is done during
      queuecommand()) within the 'delay timer' period, the
      firmware will not generate system interrupt.
      Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      4fdfefe5
  11. 26 10月, 2005 1 次提交
    • A
      [PATCH] qlogic lockup fix · 444d1d9b
      Andrew Morton 提交于
      If qla2x00_probe_one()'s call to qla2x00_iospace_config() fails, we call
      qla2x00_free_device() to clean up.  But because ha->dpc_pid hasn't been set
      yet, qla2x00_free_device() tries to stop a kernel thread which hasn't started
      yet.  It does wait_for_completion() against an uninitialised completion struct
      and the kernel hangs up.
      
      Fix it by initialising ha->dpc_pid a bit earlier.
      
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      444d1d9b
  12. 05 9月, 2005 8 次提交
  13. 14 7月, 2005 6 次提交