Re: MPSAFE VFS -- List of upcoming actions

From: Attilio Rao <attilio_at_freebsd.org>
Date: Wed, 4 Jul 2012 20:15:35 +0100
2012/6/29 Attilio Rao <attilio_at_freebsd.org>:
> As already published several times, according to the following plan:
> http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS
>

I still haven't heard from Vivien or Edward, anyway as NTFS is
basically only used RO these days (also the mount_ntfs code just
permits RO mounting) I stripped all the uncomplete/bogus write support
with the following patch:
http://www.freebsd.org/~attilio/ntfs_remove_write.patch

This is an attempt to make the code smaller and possibly just focus on
the locking that really matter (as read-only filesystem).
On some points of the patch I'm a bit less sure as we could easily
take into account also write for things like vaccess() arguments, and
make easier to re-add correct write support at some point in the
future, but still force RO, even if the approach used in the patch is
more correct IMHO.
As an added bonus this patch cleans some dirty code in the mount
operation and fixes a bug as vfs_mountedfrom() is called before real
mounting is completed and can still fail.

The patch has been kindly tested by pho_at_.  If none has objections I
will commit it friday evening.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
Received on Wed Jul 04 2012 - 17:15:37 UTC

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