Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 06:51:34 -0600
From:      Scott Long <scottl@samsco.org>
To:        "Justin T. Gibbs" <gibbs@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r223557 - head/sys/cam/scsi
Message-ID:  <537C5DE9-9B16-4A4F-AE94-25C9DA7D3B78@samsco.org>
In-Reply-To: <201106260132.p5Q1Wlrw030787@svn.freebsd.org>
References:  <201106260132.p5Q1Wlrw030787@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 25, 2011, at 7:32 PM, Justin T. Gibbs wrote:

> Author: gibbs
> Date: Sun Jun 26 01:32:46 2011
> New Revision: 223557
> URL: http://svn.freebsd.org/changeset/base/223557
>=20
> Log:
> cam/scsi/scsi_cd.c:
> 	In cdregister(), hold the periph lock semaphore during changer
> 	probe/configuration.  This removes a window where an open of the
> 	cd device may succeed before probe processing has completed.
>=20

I hope this works for Andre (and likely others).  Regardless though, =
cdregister() and daregister() need to be refactored to not require this =
delicate mess of locking hacks.

Scott




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537C5DE9-9B16-4A4F-AE94-25C9DA7D3B78>