From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 28 14:01:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FE58106566B; Wed, 28 Mar 2012 14:01:19 +0000 (UTC) (envelope-from gpf.kira@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 120F88FC14; Wed, 28 Mar 2012 14:01:18 +0000 (UTC) Received: by qcsg15 with SMTP id g15so811971qcs.13 for ; Wed, 28 Mar 2012 07:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+tAOskEPW3DkT34Ktc5KVHz+FLR6A9TdALC/kh/UBig=; b=gC2m3ZvB+0OAlkS1DU2Tz/R+CpXzTVKM4imf1qo7aHNzN0bhk//YO9ksyValnvhOt8 NvaNN13H6HYFdV/RJXjTmnDjupjTuUY/xFbECS0wm8AXGh5uSmOziS7QPb3KFamryJ9n K6MPE5tUNLqDQjQpqIXGyx+ilHFyc2VnetYtJ1kl4oiOCcZa8pc+0wiwxXOHdIBxbetG +KUqVuVQT6uztr2G2GCxFX08oFiI9COEf6ZbeOXYbgJyB+0pLJI+TzCl6yK3Azcdt57h dR68ztDXgYv75raa+6HY2GLG+qJhWtbU6/HyYA3+XLpHQwZEsFllVsWdkaHBY5OEz7h+ rg9g== MIME-Version: 1.0 Received: by 10.224.209.67 with SMTP id gf3mr33906475qab.75.1332943272921; Wed, 28 Mar 2012 07:01:12 -0700 (PDT) Received: by 10.229.239.18 with HTTP; Wed, 28 Mar 2012 07:01:12 -0700 (PDT) In-Reply-To: References: <20120327200631.GA48486@reks> Date: Wed, 28 Mar 2012 17:01:12 +0300 Message-ID: From: Efstratios Karatzas To: Attilio Rao Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, Gleb Kurtsou , kib@freebsd.org, gleb@freebsd.org Subject: Re: NTFS GSoC Project Idea X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2012 14:01:19 -0000 On Wed, Mar 28, 2012 at 2:45 PM, Attilio Rao wrote: > 2012/3/27, Efstratios Karatzas : > > On Tue, Mar 27, 2012 at 11:06 PM, Gleb Kurtsou > > wrote: > > > >> On (26/03/2012 21:13), Efstratios Karatzas wrote: > >> > Greetings, > >> > > >> > I am a FreeBSD GSoC 2010 student, looking to participate in this years > >> > GSoC. The project that I wish to work on is the FreeBSD NTFS driver. > >> > > >> > I 've already discussed my project idea with Attilio@ who suggested > >> that I > >> > forward my proposal to the hackers mailing list in order to get more > >> > feedback and see if there's anyone interested in mentoring a NTFS > >> project. > >> > > >> > The current draft of the technical part of my proposal(pdf & plain > text) > >> > can be found here: > >> > > >> > http://cgi.di.uoa.gr/~std06101/ntfs/ntfs_proposal.tar > >> > > >> > The project idea focuses on mp-safing the NTFS driver as well as > adding > >> > extra write support. I've tried to merge the two conflicting NTFS > >> > project > >> > ideas in the ideas wiki page, into one. One of them suggesting that > work > >> > should be done on the current driver (mp-safe it etc) and the other > one > >> > suggesting that we port Apple's NTFS driver from scratch. The concept > is > >> > that we keep most of our vnode/vfs code (i.e. ntfs_vfsops.c, > >> ntfs_vnops.c) > >> > and rework existing infrastructure as needed as well as implement new > >> > features using Apple's driver as a guide. > >> > >> I'm not sure I follow your idea, but I'd suggest sticking to a single > >> project: either improve FreeBSD NTFS or do the port. FreeBSD and Darwin > >> ntfs implementations are completely unrelated thus porting features from > >> Darwin won't be easy. > >> > >> > This way, we avoid the major > >> > changes in Apple's VFS (is there any documentation to be found?) and > >> > port > >> > code that won't break current functionality. > >> > >> I bet "major changes in Apple's VFS" are easier to deal with than > >> "merging" two unrelated file systems. XNU VFS is based on FreeBSD 5 VFS > >> and they still share a lot in common, e.g. vnode operations themselves > >> are nearly the same, e.g. extended attributes, locking, buffer cache are > >> different. > >> > >> Take a look at HFS+ port. It's unmaintained and outdated but page > >> contains link to CVS repository snapshot. > >> http://people.freebsd.org/~yar/hfs/ > >> > >> > I tried to keep this e-mail brief so If you wish to know more, please > >> refer > >> > to the proposal. > >> > > >> > Thank you > >> > > >> > -- > >> > > >> > Efstratios "GPF" Karatzas > >> > > > > Since the FreeBSD wiki has two conflicting NTFS ideas, I thought of > > submitting two proposals: one to work on the current driver and one to > port > > Apple's driver and let the FreeBSD team choose, should they wish to pick > > one of them. Attilio suggested that perhaps a merge of those two ideas > was > > better than two separate proposals and this was my attempt to merge those > > ideas; I hear what you say though. > > What I specifically had in mind is: > - make NTFS mpsafe > - bugbusting > - surf in Apple implementation/history, check for bugfixes there and > import in the FreeBSD implementation > > Unfortunately our idea page is not as updated as you want it to be, > thus it happens to find duplicate ideas list, not well merged, etc. > > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein > Here's a draft for a NTFS proposal that focuses on improving our current driver(mp-safe + extra write support). I believe it's well defined and shouldn't cause any confusion. Also a couple of fixes due to Pedro's e-mail (thanks!). The draft can be found here: http://cgi.di.uoa.gr/~std06101/ntfs/ntfs_mpsafe_proposal.tar Let me know what you think. -- Efstratios "GPF" Karatzas