Date: Wed, 4 Jul 2012 20:15:35 +0100 From: Attilio Rao <attilio@freebsd.org> To: FreeBSD FS <freebsd-fs@freebsd.org>, freebsd-current@freebsd.org, Peter Holm <pho@freebsd.org>, =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@freebsd.org>, Vivien Botton <vbotton@freebsd.org> Subject: Re: MPSAFE VFS -- List of upcoming actions Message-ID: <CAJ-FndC=3Z9hNAHR9cwwypxhx%2Be27%2B6eiHWxOxRBij8H_wLb6w@mail.gmail.com> In-Reply-To: <CAJ-FndAJtFx_OhqzDvBSLQ5pEaX730oF8Tbyk%2BkYbz9y1KaXXA@mail.gmail.com> References: <CAJ-FndAJtFx_OhqzDvBSLQ5pEaX730oF8Tbyk%2BkYbz9y1KaXXA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2012/6/29 Attilio Rao <attilio@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@. If none has objections I will commit it friday evening. Thanks, Attilio -- 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?CAJ-FndC=3Z9hNAHR9cwwypxhx%2Be27%2B6eiHWxOxRBij8H_wLb6w>