TranslateProject/sources/talk/20200111 Don-t Use ZFS on Linux- Linus Torvalds.md

5.1 KiB
Raw Blame History

Dont Use ZFS on Linux: Linus Torvalds

“Dont use ZFS. Its that simple. It was always more of a buzzword than anything else, I feel, and the licensing issues just make it a non-starter for me.”

This is what Linus Torvalds said in a mailing list to once again express his disliking for ZFS filesystem specially over its licensing.

To avoid unnecessary confusion, this is more intended for Linux distributions, kernel developers and maintainers rather than individual Linux users.

Whats the licensing issue with ZFS and Linux kernel?

ZFS was open sourced around 2003. This would have meant that Linux distributions start supporting ZFS. But that didnt really happen because of the complexity of open source licenses.

ZFS is open source under Common Development and Distribution License (CDDL) 1.0 whereas Linux kernel is licensed under the GNU General Public License (GPL) 2.0.

These two open source licenses are not fully compatible with each other. As noted by PCWorld, if ZFS with this license is included in the Linux kernel, this would mean that kernel+ZFS is a derivative work of the (original ZFS-less) Linux kernel.

Torvalds doesnt trust Oracle

While the whole derivative thing is a matter of debate for legal and licensing experts, Torvalds is skeptical of Oracle. Oracle has a history of suing enterprises for using its code. Remember Oracle vs Android lawsuit over the use of Java?

Other people think it can be ok to merge ZFS code into the kernel and that the module interface makes it ok, and thats their decision. But considering Oracles litigious nature, and the questions over licensing, theres no way I can feel safe in ever doing so.

And Im not at all interested in some “ZFS shim layer” thing either that some people seem to think would isolate the two projects. That adds no value to our side, and given Oracles interface copyright suits (see Java), I dont think its any real licensing win either.

Torvalds doesnt want Linux kernel to get into legal troubles with Oracle in future and hence he refuses to include ZFS in mainline kernel until Orcale provides a signed letter that a kernel with ZFS will be under GPL license.

And honestly, there is no way I can merge any of the ZFS efforts until I get an official letter from Oracle that is signed by their main legal counsel or preferably by Larry Ellison himself that says that yes, its ok to do so and treat the end result as GPLd.

He is not stopping other (distributions) from using ZFS. But they are on their own.

If somebody adds a kernel module like ZFS, they are on their own. I cant maintain it, and I can not be bound by other peoples kernel changes.

Canonical, Ubuntus parent company, has been too keen on ZFS. Their legal department thinks that including ZFS in kernel doesnt make it a derivative work. So they took their chances and now they provide an option to use ZFS on root from Ubuntu 19.10.

Torvalds is also not impressed with ZFS in general

While some people drool over ZFS, Linus Torvalds is not that impressed with ZFS. He doesnt think its using ZFS is a good idea specially when it is not actively maintained by Oracle (after they open sourced it)

The benchmarks Ive seen do not make ZFS look all that great. And as far as I can tell, it has no real maintenance behind it either any more, so from a long-term stability standpoint, why would you ever want to use it in the first place?

I am no legal expert but if there is even a slightest doubt, I would prefer staying away from ZFS. What do you think of the whole ZFS debate?


via: https://itsfoss.com/linus-torvalds-zfs/

作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出