[PATCH] Add locking to twe(4) so it no longer uses Giant

John Baldwin jhb at freebsd.org
Fri Aug 3 19:39:56 UTC 2012


On Friday, August 03, 2012 2:56:00 pm Kevin Oberman wrote:
> I'll try to find time to try it later today, but I'm in the middle of
> budget wrangling and I can't make any promises.
> 
> Before I try, will these patches apply to the twe driver in
> 9.1-PRERELEASE? My system with twe was updated to RELENG_9 on July 18.
> I really don't have time to install current right now.

I believe the patches should apply fine on 8 and 9.  If you use it on 8 or 9
please make sure to enable INVARIANTS and INVARIANT_SUPPORT at least for
initial testing.  Thanks!

> -- 
> R. Kevin Oberman, Network Engineer
> E-mail: kob6558 at gmail.com
> 
> On Fri, Aug 3, 2012 at 11:18 AM, John Baldwin <jhb at freebsd.org> wrote:
> > We only have a few storage drivers left that use Giant and twe(4) is one of
> > them.  I don't have any hardware to test with, however.  I have verified the
> > patch compiles, but I'd appreciate it if some folks with twe(4) hardware could
> > test it.
> >
> > The patch is at http://www.FreeBSD.org/~jhb/patches/twe_locking.patch
> 

-- 
John Baldwin


More information about the freebsd-current mailing list