Date: Fri, 18 Feb 2011 17:01:57 +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: <201102181702.p1IH2Dro022661@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ken 2011-02-18 17:01:57 UTC FreeBSD src repository Modified files: sys/dev/mps mps.c mps_sas.c mpsvar.h Log: SVN rev 218811 on 2011-02-18 17:01:57Z by ken 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 MFC after: 3 days Revision Changes Path 1.11 +1 -0 src/sys/dev/mps/mps.c 1.8 +24 -3 src/sys/dev/mps/mps_sas.c 1.6 +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?201102181702.p1IH2Dro022661>