Date: Wed, 1 Oct 2008 17:17:35 -0400 From: John Baldwin <jhb@freebsd.org> To: Jeff Wheelhouse <freebsd-hackers@wheelhouse.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Major SMP problems with lstat/namei Message-ID: <200810011717.35873.jhb@freebsd.org> In-Reply-To: <C70E3C36-3558-4951-A6F7-A072BCEE374F@wheelhouse.org> References: <8185F68B-C443-4891-BEC2-5E3D453DDC93@wheelhouse.org> <200809241212.09920.jhb@freebsd.org> <C70E3C36-3558-4951-A6F7-A072BCEE374F@wheelhouse.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 September 2008 07:00:04 pm Jeff Wheelhouse wrote: > > On Sep 24, 2008, at 12:12 PM, John Baldwin wrote: > > Shared lookups only work on the NFS client in 6.x. I'm about to > > turn them on > > for UFS in HEAD (8.x) and will backport the needed fixes to 7.x > > after 7.1 > > (too risky to merge to 7.x this close to a release). > > OK, given all the patches you referenced, I did make a decent effort > at backporting to 7.0. It sounds like you missed some of the dirhash changes somehow, as dirhash no longer has any lockmgr stuff in it (and only ever did in HEAD). I've generated a patch though using svn. You can grab it from http://www.FreeBSD.org/~jhb/patches/ufs_lookup7.patch Note that you will have to set vfs.lookup_shared=1 to enable shared locks (either loader tunable or sysctl). Also, I found a few other changes I had missed earlier that needed to be included. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810011717.35873.jhb>