1. 27 5月, 2007 26 次提交
  2. 24 5月, 2007 7 次提交
  3. 23 5月, 2007 2 次提交
  4. 22 5月, 2007 4 次提交
    • S
      [SCSI] aacraid: add support for FUA · 9d399cc7
      Salyzyn, Mark 提交于
      Back in the beginning of last year we disabled mode page 8 and mode page
      3f requests through device quirk bits instead of enhancing the driver to
      respond to these mode pages because there was no apparent added value.
      
      The Firmware that supports the new communication commands supports the
      ability to force a write around of the adapter cache on a command by
      command basis. In the attached patch we enable mode page 8 and 3f and
      spoof the results as needed in order to *convince* the layers above to
      submit writes with the FUA (Force Unit Attention) bit set if the file
      system or application requires it, if the Firmware supports the write
      through, or instead to submit a SYNCHRONIZE_CACHE if the Firmware does
      not. The added value here is for file systems that benefit from this
      functionality and for clustering or redundancy scenarios.
      
      Caveats: By convince, we are responding with a minimal short 3 byte
      content mode page 8, with only the data the SCSI layer needs and that we
      can fill confidently. Applications that require the customarily larger
      mode page 8 results may be confused by this(?). The FUA, or the
      SYNCHRONIZE_CACHE only affect the cache on the controller. Our firmware
      by default ensure that the underlying physical drives of the array have
      their cache turned off so normally this is not a problem.
      
      This attached patch is against current scsi-misc-2.6 and was unit tested
      on RHEL5. Since this is a feature enhancement, it should not be
      considered for any current stabilization efforts.
      Signed-off-by: NMark Salyzyn <aacraid@adaptec.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      9d399cc7
    • C
      [SCSI] aha152x: use wait_for_completion_timeout · 0f06bb34
      Christoph Hellwig 提交于
      Use wait_for_completion_timeout instead a semaphore + timer.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      0f06bb34
    • T
      [SCSI] kill scsi host template suspend/resume · 1dfcda06
      Tejun Heo 提交于
      With libata converted to use sdev->manage_start_stop for suspend and
      resume, sht->suspend/resume() has no user left and low level
      suspend/ressume should be taken care of by low level driver's
      suspend/resume callbacks (e.g. PCI or PCMCIA driver callbacks).  This
      patch removes sht->suspend/resume() callbacks.
      
      This change is suggested by Christoph Hellwig.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      1dfcda06
    • J
      [SCSI] ibmmca: convert to new probing API and fix oopses · 67b2009a
      James Bottomley 提交于
      This is basically a straight conversion.  I have one of these things, so
      I know it works ... my problem is that it has a wierd SCA like
      connector, so I can't connect anything to it (no cables).
      
      However, previously it panic'd in the interrupt, now it completes a bus
      scan.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      67b2009a
  5. 16 5月, 2007 1 次提交
    • J
      [SCSI] FC Transport support for vports based on NPIV · a53eb5e0
      James Smart 提交于
      This patch provides support for FC virtual ports based on NPIV.
      For information on the interfaces and design, please read the
      Documentation/scsi/scsi_fc_transport.txt file enclosed within
      the patch.
      
      The RFC was originally posted here:
      http://marc.info/?l=linux-scsi&m=117226959918393&w=2
      
      Changes from the initial RFC:
      - Bug fix: needed a transport_class_unregister() for the vport class
      - Create a symlink to the vport in the shost device if it is not the
          parent of the vport.
      - Made symbolic name writable so it can be set after creation
      - Made the temporary fc_vport_identifiers struct private to the
      transport.
      - Deleted the vport_id field from the vport. I couldn't find any good
        use for it (and symname is a good replacement).
      - Made the vport_state and vport_last_state "private" attributes.
        Added the fc_vport_set_state() helper function to manage state
        transitions
      - Updated vport_create() to allow a vport to be created in a disabled
        state.
      - Added INITIALIZING and FAILED vport states
      - Added VPCERR_xxx defines for errors to be returned from vport_create()
      - Created a Documentation/scsi/scsi_fc_transport.txt file that describes
        the interfaces and expected LLDD behaviors.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      a53eb5e0