Date: Sun, 14 Feb 2010 19:38:27 +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: <201002141939.o1EJdQcZ072940@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2010-02-14 19:38:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) 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 203889 on 2010-02-14 19:38:27Z by mav MFC r203108: Large set of CAM improvements: - 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.1.2.12 +3 -3 src/sys/cam/ata/ata_all.c 1.2.2.13 +1 -1 src/sys/cam/ata/ata_da.c 1.3.2.7 +76 -74 src/sys/cam/ata/ata_pmp.c 1.3.2.17 +75 -46 src/sys/cam/ata/ata_xpt.c 1.13.2.4 +3 -3 src/sys/cam/cam.c 1.13.2.5 +19 -6 src/sys/cam/cam.h 1.37.2.6 +5 -2 src/sys/cam/cam_ccb.h 1.80.2.8 +209 -180 src/sys/cam/cam_periph.c 1.20.2.5 +5 -1 src/sys/cam/cam_periph.h 1.9.22.3 +100 -5 src/sys/cam/cam_queue.h 1.13.2.2 +2 -1 src/sys/cam/cam_sim.c 1.217.2.18 +284 -376 src/sys/cam/cam_xpt.c 1.10.2.2 +5 -0 src/sys/cam/cam_xpt.h 1.1.2.6 +0 -1 src/sys/cam/cam_xpt_internal.h 1.8.2.2 +0 -3 src/sys/cam/cam_xpt_periph.h 1.10.2.2 +6 -2 src/sys/cam/cam_xpt_sim.h 1.55.2.3 +36 -23 src/sys/cam/scsi/scsi_all.c 1.107.2.7 +24 -24 src/sys/cam/scsi/scsi_cd.c 1.48.2.4 +1 -1 src/sys/cam/scsi/scsi_ch.c 1.236.2.9 +1 -1 src/sys/cam/scsi/scsi_da.c 1.30.2.3 +0 -36 src/sys/cam/scsi/scsi_low.c 1.54.2.2 +5 -7 src/sys/cam/scsi/scsi_pass.c 1.3.2.6 +49 -16 src/sys/cam/scsi/scsi_xpt.c 1.1.2.22 +39 -16 src/sys/dev/ahci/ahci.c 1.1.2.7 +15 -0 src/sys/dev/ahci/ahci.h 1.87.2.2 +0 -1 src/sys/dev/asr/asr.c 1.308.2.8 +21 -6 src/sys/dev/ata/ata-all.c 1.63.2.4 +4 -28 src/sys/dev/ata/atapi-cam.c 1.97.2.7 +6 -42 src/sys/dev/ciss/ciss.c 1.4.2.2 +8 -21 src/sys/dev/hptiop/hptiop.c 1.4.2.4 +8 -24 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.2.2.2 +0 -1 src/sys/dev/hptrr/os_bsd.h 1.47.2.3 +5 -17 src/sys/dev/mly/mly.c 1.6.10.2 +0 -1 src/sys/dev/mpt/mpt_cam.h 1.20.2.3 +1 -16 src/sys/dev/mpt/mpt_raid.c 1.39.2.4 +0 -37 src/sys/dev/ppbus/vpo.c 1.1.2.17 +26 -9 src/sys/dev/siis/siis.c 1.33.10.3 +0 -18 src/sys/dev/trm/trm.c 1.12.10.2 +5 -54 src/sys/dev/twa/tw_osl_cam.c 1.21.2.12 +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?201002141939.o1EJdQcZ072940>