Date: Mon, 21 Feb 2011 16:55:53 +0000 (UTC) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mps mps.c mps_sas.c mpsvar.h Message-ID: <201102211656.p1LGuFRQ076628@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ken 2011-02-21 16:55:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/mps mps.c mps_sas.c mpsvar.h Log: SVN rev 218921 on 2011-02-21 16:55:53Z by ken MFC: r218811: In the MPS driver, during device removal processing, don't assume that the controller firmware will return all of our commands. Instead, keep track of outstanding I/Os and return them to CAM once device removal processing completes. mpsvar.h: Declare the new "io_list" in the mps_softc. mps.c: Initialize the new "io_list" in the mps softc. mps_sas.c: o Track SCSI I/O requests on the io_list from the time of mpssas_action() through mpssas_scsiio_complete(). o Zero out the request structures used for device removal commands prior to filling them out. o Once the target reset task management function completes during device removal processing, assume any SCSI I/O commands that are still oustanding will never return from the controller, and process them manually. Submitted by: gibbs Revision Changes Path 1.10.2.3 +1 -0 src/sys/dev/mps/mps.c 1.7.2.3 +24 -3 src/sys/dev/mps/mps_sas.c 1.5.2.3 +1 -0 src/sys/dev/mps/mpsvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102211656.p1LGuFRQ076628>