Date: Mon, 08 Aug 2011 08:57:18 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-scsi@freebsd.org Subject: Re: some changes to xpt to help make unloading sim modules safer Message-ID: <4E40075E.3020001@feral.com> In-Reply-To: <CAM0tzX13hWBpXfB06xbbA9n6d2qjFc4p6GGdhtV4CBwNG%2BKoqA@mail.gmail.com> References: <4E3F0332.7030004@feral.com> <CAM0tzX13hWBpXfB06xbbA9n6d2qjFc4p6GGdhtV4CBwNG%2BKoqA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/8/2011 7:52 AM, Chuck Tuffli wrote: > On Sun, Aug 7, 2011 at 2:27 PM, Matthew Jacob<mj@feral.com> wrote: >> See http://people.freebsd.org/~mjacob/xpt_patches.txt > Matt - > > Thanks for doing this. So it seems the rule is to hold > xsoftc.xpt_topo_lock while modifying bus->refcount . If so, does > xpt_alloc_target need mtx_lock() / mtx_unlock() around bus->refcount++ > ? > > By jove, I think you're right!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E40075E.3020001>