svn commit: r204470 - head/sys/fs/msdosfs

Attilio Rao attilio at freebsd.org
Sun Feb 28 18:00:21 UTC 2010


2010/2/28 Konstantin Belousov <kib at freebsd.org>:
> Author: kib
> Date: Sun Feb 28 17:13:07 2010
> New Revision: 204470
> URL: http://svn.freebsd.org/changeset/base/204470
>
> Log:
>  Add per-mountpoint lockmgr lock for msdosfs. It is intended to be used
>  as fat bitmap lock and to replace global mutex protecting fileno rbtree.

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


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


More information about the svn-src-all mailing list