Date: Sun, 26 Feb 2006 22:38:39 +0000 (UTC) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_periph.c cam_xpt.c Message-ID: <200602262238.k1QMcdtv043089@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2006-02-26 22:38:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/cam cam_periph.c cam_xpt.c Log: MFC: when deregistering a bus, attempt to flush out all outstanding operations before returning, and point the bus at a dummy cam_sim structure. This avoids crashes in camisr() when umass devices are unplugged during probing. It may however be better to simply sleep in xpt_bus_deregister() until all operations have completed, but it is still useful to have this MFC'd in the meantime. Approved by: re (scottl) Revision Changes Path 1.60.2.1 +2 -0 src/sys/cam/cam_periph.c 1.155.2.2 +111 -8 src/sys/cam/cam_xpt.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602262238.k1QMcdtv043089>