Re: MPSAFE VFS -- List of upcoming actions

From: Russell Cattelan <cattelan_at_thebarn.com>
Date: Mon, 02 Jul 2012 09:13:08 -0500
On 7/2/12 1:12 AM, Christoph Hellwig wrote:
> On Sun, Jul 01, 2012 at 03:52:05PM +0200, Attilio Rao wrote:
>> anything by SoC involved people about NTFS and certainly I don't see a
>> plan to get XFS locked.
> 
> Stupid question, but what amount of locking does XFS in FreeBSD still
> need?  I'm one of the maintainer of XFS on Linux, and while I know
> FreeBSD imported a really old version compared to the current one the
> codebases on IRIX and later Linux never relied on any global Giant-style
> locking.  So if there is anything to fix it would be the in the small
> bits of FreeBSD-specific code.
> 
I would be curious as well. Since I'm one of the people that has done
the port of XFS to FreeBSD I'm wondering what this whole MP initiative
with regards to filesystems is about.

XFS certainly maintained any fine grain locking inherent to XFS it self.
The XFS locks were mapped to FreeBSD sx locks in the code that is in the
tree currently. The last time I made a pass at updating XFS some of
locks were remapped to mtx locks.

Is there somethings in the vfs layer in terms of locking that needs to
be pushed down to the fs?

-Russell


Received on Mon Jul 02 2012 - 12:33:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC