svn commit: r229800 - head/sys/conf

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jan 9 13:58:17 UTC 2012


On Mon, Jan 09, 2012 at 08:15:44AM -0500, John Baldwin wrote:
> On Sunday, January 08, 2012 5:43:30 am Pawel Jakub Dawidek wrote:
> > On Sun, Jan 08, 2012 at 12:55:22AM +0000, Adrian Chadd wrote:
> > > Author: adrian
> > > Date: Sun Jan  8 00:55:22 2012
> > > New Revision: 229800
> > > URL: http://svn.freebsd.org/changeset/base/229800
> > > 
> > > Log:
> > >   Make these two files conditionally build on UFS_ACL, as it doesn't
> > >   seem to be used elsewhere.
> > >   
> > >   Since UFS_ACL is enabled by default for GENERIC kernels, this shouldn't
> > >   break anything - but please beat me to fix things if it does.
> > 
> > If someone is actually using GENERIC kernel. This change will break all
> > my system next time I upgrade. Adding UFS_ACL option to the kernel
> > config to make ZFS kernel module to work doesn't sound very intuitive.
> > 
> > I understand what you are trying to accomplish, but we really need to
> > find better way to do this. Until then, could you back it out?
> 
> Why not make 'options ZFS' work?  Then you can have subr_acl_nfs.c depend on
> ZFS as well.

At the time I looked at it, it was very hard (at least for me) to make
it work. Note that initial import of ZFS was delayed, because of this
very reason. Then des@ convinced me to go ahead with module-only
solution.

The problem with having ZFS compiled into the kernel is that OpenSolaris
compatiblity layer needs its headers to be included before system
headers, which is/was impossible or hard to express for kernel
compilation. AFAIR Kip Macy was working on it and my understanding was
that he finished it or almost finished it (CCed).

I'm all for making ZFS be compilable as part of the kernel itself, but
it is really very low on my list, because ZFS simply works now and also
because as I said, it was far from trivial for me to do it.
If someone who is more familiar with the bits responsible for kernel
compilation wants to work on including ZFS there, I'll gladly provide
help from the ZFS side.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120109/d96c5c83/attachment.pgp


More information about the svn-src-all mailing list