1. 07 8月, 2006 1 次提交
    • M
      [SCSI] Improve inquiry printing · 4ff36718
      Matthew Wilcox 提交于
       - Replace scsi_device_types array API with scsi_device_type function API.
         Gets rid of a lot of common code, as well as being easier to use.
       - Add the new device types in SPC4 r05a, and rename some of the older ones.
       - Reformat the printing of inquiry data; now fits on one line and
         includes PQ.
      
      I think I've addressed all the feedback from the previous versions.  My
      current test box prints:
      
      scsi 2:0:1:0: Direct access     HP 18.2G ATLAS10K3_18_SCA HP05 PQ: 0 ANSI: 2
      Signed-off-by: NMatthew Wilcox <matthew@wil.cx>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      4ff36718
  2. 10 7月, 2006 1 次提交
    • C
      [SCSI] hide EH backup data outside the scsi_cmnd · 631c228c
      Christoph Hellwig 提交于
      Currently struct scsi_cmnd has various fields that are used to backup
      original data after the corresponding fields have been overridden for
      EH commands.  This means drivers can easily get at it and misuse it.
      Due to the old_ naming this doesn't happen for most of them, but two
      that have different names have been used wrong a lot (see previous
      patch).  Another downside is that they unessecarily bloat the scsi_cmnd
      size.
      
      This patch moves them onstack in scsi_send_eh_cmnd to fix those two
      issues aswell as allowing future EH fixes like moving the EH command
      submissions to use SG lists like everything else.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      631c228c
  3. 11 6月, 2006 1 次提交
  4. 15 5月, 2006 1 次提交
  5. 13 4月, 2006 2 次提交
  6. 28 2月, 2006 2 次提交
  7. 06 2月, 2006 1 次提交
  8. 13 1月, 2006 1 次提交
  9. 09 1月, 2006 1 次提交
  10. 23 11月, 2005 1 次提交
  11. 29 10月, 2005 2 次提交
  12. 28 10月, 2005 1 次提交
  13. 19 9月, 2005 1 次提交
  14. 13 8月, 2005 1 次提交
  15. 08 8月, 2005 1 次提交
    • J
      [SCSI] add global timeout to the scsi mid-layer · b21a4138
      James Bottomley 提交于
      There are certain rogue devices (and the aic7xxx driver) that return
      BUSY or QUEUE_FULL forever.  This code will apply a global timeout (of
      the total number of retries times the per command timer) to a given
      command.  If it is exceeded, the command is completed regardless of its
      state.
      
      The patch also removes the unused field in the command: timeout and
      timeout_total.
      
      This solves the problem of detecting an endless loop in the mid-layer
      because of BUSY/QUEUE_FULL bouncing, but will not recover the device.
      In the aic7xxx case, the driver can be recovered by sending a bus reset,
      so possibly this should be tied into the error handler?
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      b21a4138
  16. 31 7月, 2005 2 次提交
  17. 12 7月, 2005 1 次提交
  18. 27 6月, 2005 3 次提交
  19. 24 6月, 2005 1 次提交
  20. 21 5月, 2005 1 次提交
  21. 02 5月, 2005 1 次提交
  22. 19 4月, 2005 3 次提交
  23. 17 4月, 2005 4 次提交