Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2010 19:00:10 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r204470 - head/sys/fs/msdosfs
Message-ID:  <3bbf2fe11002281000i5a6ebb35seadd6cb8f506d65e@mail.gmail.com>
In-Reply-To: <201002281713.o1SHD74Q040738@svn.freebsd.org>
References:  <201002281713.o1SHD74Q040738@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/2/28 Konstantin Belousov <kib@freebsd.org>:
> Author: kib
> Date: Sun Feb 28 17:13:07 2010
> New Revision: 204470
> URL: http://svn.freebsd.org/changeset/base/204470
>
> Log:
> =C2=A0Add per-mountpoint lockmgr lock for msdosfs. It is intended to be u=
sed
> =C2=A0as fat bitmap lock and to replace global mutex protecting fileno rb=
tree.

Looking at this patch, it seems you can safely use a sx lock here and
I would prefer that as we don't want to encourage more lockmgr to get
in.
If you are concerned about writer starvation in any way here,
probabilly the right solution is to implement it in sx and remove
lockmgr also from the export code.

Attilio


--=20
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe11002281000i5a6ebb35seadd6cb8f506d65e>