Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 06:57:46 +1100
From:      Antony Mawer <lists@mawer.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: The state of Giant lock in the file systems?
Message-ID:  <AANLkTikpOs9TzjqV3TUZCTYW9zmzvNr2FtYaDWhMY%2B=R@mail.gmail.com>
In-Reply-To: <AANLkTi=KtGJjhEzRnQN78koFQqvtFC1c%2BqVfunUdae%2Bw@mail.gmail.com>
References:  <ib8qda$nat$1@dough.gmane.org> <201011081004.59640.jhb@freebsd.org> <20101108151028.GI2392@deviant.kiev.zoral.com.ua> <AANLkTi=KtGJjhEzRnQN78koFQqvtFC1c%2BqVfunUdae%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 9, 2010 at 2:28 AM, Ivan Voras <ivoras@freebsd.org> wrote:
> On 8 November 2010 16:10, Kostik Belousov <kostikbel@gmail.com> wrote:
>
>> I already claimed several times that I will remove VFS_LOCK_GIANT
>> after smbfs is locked. Patch for removal is sitting in my repository
>> for almost a year.
>
> Ok, I've made a little table here:
>
> http://wiki.freebsd.org/MPSAFE_VFS

FYI - NWFS is still functional in 8.x (there are some minor but
annoying bugs, e.g. the root node path resolution occasionally trips
over itself causing the mount point to become inaccessible, but that's
been there since 4.x days), and I am happy to test any locking changes
to it.

>From memory NWFS and SMBFS share similar locking strategies so what
gets done to one typically gets applied to the other. This got hit
early in the 6.0 beta series where SMBFS had VFS locking changes which
hadn't been applied to NWFS. On that occasion we were able to work
with truckman@ to isolate the problem and get the right locking
changes made in time for 6.0's release.

On the SMBFS front, it's largely unmaintained as well (sadly) -- there
are patches to add Unicode support to SMBFS which have been floating
around since 2005, but so far they have (to my knowledge) never seen
any reviews:

http://people.freebsd.org/~imura/kiconv/

SMBFS and NWFS both share a lot of similar designs in terms of their
FreeBSD implementations due to being both implemented by the same
developer (bp@).

--Antony



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikpOs9TzjqV3TUZCTYW9zmzvNr2FtYaDWhMY%2B=R>