1. 22 Oct, 2002 4 commits
  2. 21 Oct, 2002 3 commits
    • Doug Ledford's avatar
      Update for new TCQ scheme · 9ccb0cb5
      Doug Ledford authored
      9ccb0cb5
    • Mike Anderson's avatar
      [PATCH] scsi sync caches w/ dev offline · 84a26cf5
      Mike Anderson authored
      When a scsi device is offlined and then the system is shutdown it will
      hang during the synchronizing SCSI caches task. The error handler was
      activated during this step, but post recovery the system did not
      complete the shutdown.
      
      This patch just adds a check for online before sending the command. The
      better approach appeared to be to use scsi_block_when_processing_errors,
      but I was concerned that we might block to long in a shutdown case.
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       sd.c |    3 +++
       1 files changed, 3 insertions(+)
      84a26cf5
    • Mike Anderson's avatar
      [PATCH] scsi_error device offline fix · 6532af8c
      Mike Anderson authored
      This patch corrects a problem in scsi error handling.
      
      When a device is offlined indicated by a message like ...Device offlined
      - not ready...
      
      the command return status was not being updated with a failure status if
      the IO was a timeout.
      
      I tested the patch on system with ips, aic, and qlogic fc adapters, but
      was unable to generate a satisfactory device offline test case.
      
      I did test this fix on uml with scsi_debug and generated a device
      offline condition with verified this fix was working correctly.
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       scsi_error.c |    8 ++++++--
       1 files changed, 6 insertions(+), 2 deletions(-)
      6532af8c
  3. 20 Oct, 2002 3 commits
    • John W. Fort's avatar
      In patch-2.5.44 Mike Anderson <andmike@us.ibm.com> made a cleanup to the · 6eadbe0c
      John W. Fort authored
      Scsi Host setup.
      
      This caused the following errors on trying to compile.
      
      drivers/scsi/inia100.c:98: unknown field `next' specified in initializer
      drivers/scsi/inia100.c:98: warning: missing braces around initializer
      drivers/scsi/inia100.c:98: warning: (near initialization for `driver_template.shtp_list')
      drivers/scsi/inia100.c:98: unknown field `module' specified in initializer
      drivers/scsi/inia100.c:98: unknown field `proc_name' specified in initializer
      drivers/scsi/inia100.c:98: warning: initialization from incompatible pointer type
      make[2]: *** [drivers/scsi/inia100.o] Error 1
      
      Several of the drivers Mike modified only had the one-line change to remove
      the 'next' field.  I tried it and bingo, it works and passed my tests.
      
      The version change is what Doug Ledford intended in patch-2.5.25 back in
      June 2002.  (See inia100.c "inia100_Version")
      
      6eadbe0c
    • Mike Anderson's avatar
      [PATCH] fix module unload of sg · f259cb39
      Mike Anderson authored
      	It looks like sg.c was missed in the update from put_device to
      	device_unregister.
      f259cb39
    • Christoph Hellwig's avatar
      [PATCH] remove dead EH methods · b980fa6f
      Christoph Hellwig authored
      break at compiletime instead of runtime
      
      
      ===== drivers/scsi/hosts.h 1.19 vs edited =====
      b980fa6f
  4. 18 Oct, 2002 30 commits