Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Patching kernel sources for ZFS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nonhuman
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 236
Location: Washington DC

PostPosted: Mon May 26, 2008 3:55 am    Post subject: Patching kernel sources for ZFS? Reply with quote

I suppose this may be the right forum for this...


So obviously there are a lot of people who would love to see ZFS support in the Linux kernel. Also quite obvious is that this is currently impossible, but only due to licensing issues. There's really no technical reason that this couldn't be done, especially as ZFS has already been ported for FUSE.

So why isn't there some unofficial patch to add ZFS support to the Linux kernel? They exist for btrfs, ext4, reiser4, and other technically unsupported filesystems.
_________________
"Ambition is a poor excuse for not having sense enough to be lazy." -Edgar Bergen
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Mon May 26, 2008 4:24 am    Post subject: Reply with quote

Maybe because it is not ready for general use? I am not too sure about source tree code, but the blog(http://zfs-on-fuse.blogspot.com/) is not updated since Jan this year. Base on that post, zfs does not seems ready.
Back to top
View user's profile Send private message
nonhuman
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 236
Location: Washington DC

PostPosted: Mon May 26, 2008 4:28 am    Post subject: Reply with quote

Ah, well that makes sense.

It just seems odd to me that there doesn't seem to be more interest in this. ZFS is working pretty well in FreeBSD, I've been running it for a while there and enjoying it. Considering the nature of Linux and of Linux users, it seems as though there ought to be more people trying to make it work regardless of licensing issues.
_________________
"Ambition is a poor excuse for not having sense enough to be lazy." -Edgar Bergen
Back to top
View user's profile Send private message
gnomen
n00b
n00b


Joined: 04 Sep 2005
Posts: 48

PostPosted: Mon May 26, 2008 4:03 pm    Post subject: Reply with quote

Maybe the proper "linux response" is btrfs
Quote:
Btrfs (usually pronounced "Butter FS" is an experimental file system announced by Oracle in 2007[3]. It was created as a response to ZFS filesystem

rather than porting ZFS. Btrfs is already in the tree sort of
Back to top
View user's profile Send private message
nonhuman
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 236
Location: Washington DC

PostPosted: Mon May 26, 2008 4:07 pm    Post subject: Reply with quote

True, but btrfs doesn't have the full featureset that ZFS offers. ZFS is also currently at a more mature stage of development. I'm highly interested in both, but currently feel more comfortable running ZFS under FreeBSD than I do running btrfs under Linux.
_________________
"Ambition is a poor excuse for not having sense enough to be lazy." -Edgar Bergen
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Mon May 26, 2008 4:38 pm    Post subject: Reply with quote

zfs is not being ported to linux because its licence is not compatible with linux's gpl2.

you can only use it in userspace via fuse, which is a workaround for licensing issues.

*bsd has more compatible license so they can use it in kernelspace.

there might be an unofficial patch, but linux kernel community is quite wary of possible licensing issues. so it would never make it into the kernel and be considered illegal, unless the license would change.
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon May 26, 2008 5:39 pm    Post subject: Reply with quote

It's not just licencing issues IIRC.

I read somewhere that the kernel takes a very layered approach through hardware access, volume management and filesystem access.
This has the advantage that you can mix lots of things, but ZFS cuts almost right through those almost to bare metal, which the Linux kernel isn't currently built for.

I'm under the impression that some potentially dangerous re-tooling would need to be done to the current branch in order to implement ZFS.


re. licencing 'tho; Wouldn't putting GPL3-only code on BSD taint the BSD kernel?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Mon May 26, 2008 5:53 pm    Post subject: Re: Patching kernel sources for ZFS? Reply with quote

nonhuman wrote:
I suppose this may be the right forum for this...


So obviously there are a lot of people who would love to see ZFS support in the Linux kernel. Also quite obvious is that this is currently impossible, but only due to licensing issues. There's really no technical reason that this couldn't be done, especially as ZFS has already been ported for FUSE.

So why isn't there some unofficial patch to add ZFS support to the Linux kernel? They exist for btrfs, ext4, reiser4, and other technically unsupported filesystems.


it can't go into the kernel tree due to licence issues
it can't be patched into the kernel tree (userend) because the only linux implementation is via FUSE, ie in userland
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
nonhuman
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 236
Location: Washington DC

PostPosted: Mon May 26, 2008 5:53 pm    Post subject: Reply with quote

Cyker wrote:
It's not just licencing issues IIRC.

I read somewhere that the kernel takes a very layered approach through hardware access, volume management and filesystem access.
This has the advantage that you can mix lots of things, but ZFS cuts almost right through those almost to bare metal, which the Linux kernel isn't currently built for.

I'm under the impression that some potentially dangerous re-tooling would need to be done to the current branch in order to implement ZFS.


Ah, I hadn't heard about that. I was under the impression that the it was just a licensing issue.

Now what we really need, is a mature, solid microkernel with promiscuous licensing. ;)
_________________
"Ambition is a poor excuse for not having sense enough to be lazy." -Edgar Bergen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum