Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 08:41:30 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/cam cam.c cam.h cam_ccb.h cam_periph.c cam_periph.h cam_queue.h cam_sim.c cam_xpt.c cam_xpt.h cam_xpt_internal.h cam_xpt_periph.h cam_xpt_sim.h src/sys/cam/ata ata_all.c ata_da.c ata_pmp.c ata_xpt.c src/sys/cam/scsi scsi_all.c ...
Message-ID:  <201001280843.o0S8h32m008280@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2010-01-28 08:41:30 UTC

  FreeBSD src repository

  Modified files:
    sys/cam              cam.c cam.h cam_ccb.h cam_periph.c 
                         cam_periph.h cam_queue.h cam_sim.c 
                         cam_xpt.c cam_xpt.h cam_xpt_internal.h 
                         cam_xpt_periph.h cam_xpt_sim.h 
    sys/cam/ata          ata_all.c ata_da.c ata_pmp.c ata_xpt.c 
    sys/cam/scsi         scsi_all.c scsi_cd.c scsi_ch.c scsi_da.c 
                         scsi_low.c scsi_pass.c scsi_xpt.c 
    sys/dev/ahci         ahci.c ahci.h 
    sys/dev/asr          asr.c 
    sys/dev/ata          ata-all.c atapi-cam.c 
    sys/dev/ciss         ciss.c 
    sys/dev/hptiop       hptiop.c 
    sys/dev/hptrr        hptrr_osm_bsd.c os_bsd.h 
    sys/dev/mly          mly.c 
    sys/dev/mpt          mpt_cam.h mpt_raid.c 
    sys/dev/ppbus        vpo.c 
    sys/dev/siis         siis.c 
    sys/dev/trm          trm.c 
    sys/dev/twa          tw_osl_cam.c 
    sys/dev/usb/storage  umass.c 
  Log:
  SVN rev 203108 on 2010-01-28 08:41:30Z by mav
  
  MFp4: Large set of CAM inprovements.
  
  - Unify bus reset/probe sequence. Whenever bus attached at boot or later,
  CAM will automatically reset and scan it. It allows to remove duplicate
  code from many drivers.
  - Any bus, attached before CAM completed it's boot-time initialization,
  will equally join to the process, delaying boot if needed.
  - New kern.cam.boot_delay loader tunable should help controllers that
  are still unable to register their buses in time (such as slow USB/
  PCCard/ CardBus devices), by adding one more event to wait on boot.
  - To allow synchronization between different CAM levels, concept of
  requests priorities was extended. Priorities now split between several
  "run levels". Device can be freezed at specified level, allowing higher
  priority requests to pass. For example, no payload requests allowed,
  until PMP driver enable port. ATA XPT negotiate transfer parameters,
  periph driver configure caching and so on.
  - Frozen requests are no more counted by request allocation scheduler.
  It fixes deadlocks, when frozen low priority payload requests occupying
  slots, required by higher levels to manage theit execution.
  - Two last changes were holding proper ATA reinitialization and error
  recovery implementation. Now it is done: SATA controllers and Port
  Multipliers now implement automatic hot-plug and should correctly
  recover from timeouts and bus resets.
  - Improve SCSI error recovery for devices on buses without automatic sense
  reporting, such as ATAPI or USB. For example, it allows CAM to wait, while
  CD drive loads disk, instead of immediately return error status.
  - Decapitalize diagnostic messages and make them more readable and sensible.
  - Teach PMP driver to limit maximum speed on fan-out ports.
  - Make boot wait for PMP scan completes, and make rescan more reliable.
  - Fix pass driver, to return CCB to user level in case of error.
  - Increase number of retries in cd driver, as device may return several UAs.
  
  Revision  Changes    Path
  1.13      +3 -3      src/sys/cam/ata/ata_all.c
  1.15      +1 -1      src/sys/cam/ata/ata_da.c
  1.6       +76 -74    src/sys/cam/ata/ata_pmp.c
  1.20      +75 -46    src/sys/cam/ata/ata_xpt.c
  1.16      +3 -3      src/sys/cam/cam.c
  1.17      +19 -6     src/sys/cam/cam.h
  1.43      +5 -2      src/sys/cam/cam_ccb.h
  1.88      +209 -180  src/sys/cam/cam_periph.c
  1.24      +5 -1      src/sys/cam/cam_periph.h
  1.13      +100 -5    src/sys/cam/cam_queue.h
  1.14      +2 -1      src/sys/cam/cam_sim.c
  1.237     +284 -376  src/sys/cam/cam_xpt.c
  1.11      +5 -0      src/sys/cam/cam_xpt.h
  1.6       +0 -1      src/sys/cam/cam_xpt_internal.h
  1.9       +0 -3      src/sys/cam/cam_xpt_periph.h
  1.11      +6 -2      src/sys/cam/cam_xpt_sim.h
  1.57      +36 -23    src/sys/cam/scsi/scsi_all.c
  1.117     +24 -24    src/sys/cam/scsi/scsi_cd.c
  1.51      +1 -1      src/sys/cam/scsi/scsi_ch.c
  1.244     +1 -1      src/sys/cam/scsi/scsi_da.c
  1.32      +0 -36     src/sys/cam/scsi/scsi_low.c
  1.55      +5 -7      src/sys/cam/scsi/scsi_pass.c
  1.8       +49 -16    src/sys/cam/scsi/scsi_xpt.c
  1.24      +39 -16    src/sys/dev/ahci/ahci.c
  1.8       +15 -0     src/sys/dev/ahci/ahci.h
  1.88      +0 -1      src/sys/dev/asr/asr.c
  1.316     +21 -6     src/sys/dev/ata/ata-all.c
  1.66      +4 -28     src/sys/dev/ata/atapi-cam.c
  1.102     +6 -42     src/sys/dev/ciss/ciss.c
  1.7       +8 -21     src/sys/dev/hptiop/hptiop.c
  1.7       +8 -24     src/sys/dev/hptrr/hptrr_osm_bsd.c
  1.3       +0 -1      src/sys/dev/hptrr/os_bsd.h
  1.50      +5 -17     src/sys/dev/mly/mly.c
  1.7       +0 -1      src/sys/dev/mpt/mpt_cam.h
  1.24      +1 -16     src/sys/dev/mpt/mpt_raid.c
  1.42      +0 -37     src/sys/dev/ppbus/vpo.c
  1.18      +26 -9     src/sys/dev/siis/siis.c
  1.35      +0 -18     src/sys/dev/trm/trm.c
  1.13      +5 -54     src/sys/dev/twa/tw_osl_cam.c
  1.32      +0 -77     src/sys/dev/usb/storage/umass.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001280843.o0S8h32m008280>