LWN: Comments on "Linus on GPLv3 and ZFS" https://lwn.net/Articles/237905/ This is a special feed containing comments posted to the individual LWN article titled "Linus on GPLv3 and ZFS". en-us Sat, 30 Aug 2025 03:58:21 +0000 Sat, 30 Aug 2025 03:58:21 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Netapp and patents https://lwn.net/Articles/239369/ https://lwn.net/Articles/239369/ anton <blockquote>I suppose NetApp has patents too, but perhaps Linus wishes to imply that they would be more tractable to deal with than Sun </blockquote> Yes, <a rel="nofollow" href="http://lwn.net/2000/1005/a/tux2-patents.php3">Netapp has patents</a>, and they caused Daniel Phillips to <a href="http://www.kernel-traffic.org/kernel-traffic/kt20020902_182.txt">stop working on the tux2 filesystem</a>; I have not followed the story enough to know if Netapp did anything other than file the patents to achieve this result. <p>Netapp's WAFL is not very interesting for Linux anyway, because it requires special NVRAM hardware to buffer writes during some of the more time-consuming operations (e.g., snapshot creation). I don't think that this hardware dependence can be eliminated without major changes to the WAFL code. <p>Concerning not breaking Sun patents, you can look for older sources where similar ideas have been described, e.g., various papers on log-structured file systems, e.g., <a href="http://www.complang.tuwien.ac.at/papers/czezatke%26ertl00/">our Freenix 2000</a> paper, or (maybe too young) <a href="http://web.archive.org/web/*/http://www.complang.tuwien.ac.at/anton/lfs/">my file system ideas</a>. Fri, 22 Jun 2007 07:10:19 +0000 COW for Flash? https://lwn.net/Articles/238806/ https://lwn.net/Articles/238806/ joern <font class="QuotedText">&gt; It has been said that COW is ideal for Flash. Can you explain why ZFS isn't relevant here?</font><br> <p> Raw flash behaves sufficiently different to hard disks that some ZFS design assumptions become untrue. Flash has large erase blocks. Within erase blocks, data must be written from front to back. Writing the block again requires erasing all of it. So the filesystem block size either has to be equal to the erase block size, or you need garbage collection. And with garbage collection comes a nasty deadlock problem most people don't even realize exists. :)<br> <p> Next comes wear out and protection against it. Afaics, ZFS has several hot zones that receive significantly more writes than others.<br> <p> I guess those two are the big reasons.<br> Tue, 19 Jun 2007 08:17:11 +0000 COW for Flash? https://lwn.net/Articles/238745/ https://lwn.net/Articles/238745/ qu1j0t3 <p>It has been said that COW is ideal for Flash. Can you explain why ZFS isn't relevant here? <p>There is no fsck; ZFS is "always consistent on disk" (through COW+atomic transactions). It seems to me this is a necessary invariant to achieve its other features (such as snapshots). Debate flares up (occasionally) as to whether a scavenger will be necessary. If so, it won't much resemble 'fsck' - and certainly won't be run in normal operation or after reset/powerfail/etc (ZFS behaviour under impromptu reset is <a href="http://blogs.sun.com/bill/entry/zfs_and_the_all_singing">extremely well tested</a>). <p> I suspect, but correct me if I'm wrong, once you "know" you've lost data in ZFS (through exhausting redundancy or ditto blocks), it's actually gone by definition, and unrecoverable by re-creating links. No doubt Bonwick et all have explained it better somewhere... Mon, 18 Jun 2007 17:26:30 +0000 good to hear https://lwn.net/Articles/238663/ https://lwn.net/Articles/238663/ joern <font class="QuotedText">&gt; From comments I've heard, and the buzz around Linus' and Jon's posts, there seems to be considerable community interest around ZFS (I don't want to use anything else, or wait, so I switched to Solaris 10 some time ago).</font><br> <p> <font class="QuotedText">&gt; Look forward to more news on this front. Did you follow-up on LKML? (I have not checked :) </font><br> <p> My personal interest is in flash, not hard disks. Therefore ZFS is impressive technology, but solving someone else's problem. It is not the last word in filesystems either, as the fsck will run for hours or days if it ever becomes necessary. So there remain valid reasons to work on different filesystems.<br> <p> Impressive technology none the less.<br> <p> <p> Sun, 17 Jun 2007 21:43:18 +0000 good to hear https://lwn.net/Articles/238656/ https://lwn.net/Articles/238656/ qu1j0t3 <p><i>The only question is when, not if. :)</i> <p>From comments I've heard, and the buzz around Linus' and Jon's posts, there seems to be considerable community interest around ZFS (I don't want to use anything else, or wait, so I switched to Solaris 10 some time ago). <p>Look forward to more news on this front. Did you follow-up on LKML? (I have not checked :) Sun, 17 Jun 2007 19:15:50 +0000 btrfs? https://lwn.net/Articles/238655/ https://lwn.net/Articles/238655/ joern <font class="QuotedText">&gt; Maybe so, but there's quite a lot of catch-up to do. Once you have COW, transactions, and checksums, then you want self-healing; then snapshots; pools; quotas; compression; and so on, until you eventually have something like ZFS. :)</font><br> <p> Sure, ZFS has an impressive set of features. If nothing else, it has showed how things can be done. And I have little doubt that btrfs, which you quoted, will end up having most of those features relatively soon. And even if Chris dies tomorrow, I'll keep working on LogFS.<br> <p> The only question is when, not if. :)<br> <p> Sun, 17 Jun 2007 19:05:00 +0000 btrfs? https://lwn.net/Articles/238653/ https://lwn.net/Articles/238653/ qu1j0t3 <p>Maybe so, but there's quite a lot of catch-up to do. Once you have COW, transactions, and checksums, then you want self-healing; then snapshots; pools; quotas; compression; and so on, until you eventually have something like ZFS. :) <p> Linus' grandstanding aside, it's possible there is quiet work going on to improve the situation, as David Magda commented on zfs-discuss: <pre> Somewhat off topic, but it seems that someone released a COW file system for Linux (currently in 'alpha'): * Extent based file storage (2^64 max file size) * Space efficient packing of small files * Space efficient indexed directories * Dynamic inode allocation * Writable snapshots * Subvolumes (separate internal filesystem roots) - Object level mirroring and striping * Checksums on data and metadata (multiple algorithms available) - Strong integration with device mapper for multiple device support - Online filesystem check * Very fast offline filesystem check - Efficient incremental backup and FS mirroring <a href="http://lkml.org/lkml/2007/6/12/242">http://lkml.org/lkml/2007/6/12/242</a> <a href="http://oss.oracle.com/~mason/btrfs/">http://oss.oracle.com/~mason/btrfs/</a> Via <a href="http://storagemojo.com/?p=478">Storage Mojo</a> </pre> Sun, 17 Jun 2007 18:06:14 +0000 ZFS and WAFL https://lwn.net/Articles/238650/ https://lwn.net/Articles/238650/ joern Checksums are easy to add once you have a COW format. Either you add them to the block pointers, as ZFS did, or you add them to the objects themselves, as JFFS2 and LogFS did.<br> <p> Either way you have an incompatible format change. But the amount of code affected if rather small. Took about 1-2% of the effort to design a new filesystem in the LogFS case.<br> Sun, 17 Jun 2007 17:29:35 +0000 ZFS and WAFL https://lwn.net/Articles/238646/ https://lwn.net/Articles/238646/ qu1j0t3 As you see I haven't studied XFS in depth, but I was under the impression it was COW like ZFS. AFAIK, WAFL also lacks the more interesting features of ZFS (foremost being end-to-end checksumming).<br> Sun, 17 Jun 2007 15:30:37 +0000 ZFS and WAFL https://lwn.net/Articles/238378/ https://lwn.net/Articles/238378/ joern <font class="QuotedText">&gt; XFS is already integrated, and that has about as much in common with ZFS as WAFL does.</font><br> <p> That is plain wrong. XFS is in the huge class of traditional filesystems with a static mapping between file offsets and device offsets. ZFS is in the somewhat smaller (ignoring reseach projects) class of COW filesystems, just like WAFL. Anyone unable to see the similarities is well advised to read more and write less. ;)<br> Fri, 15 Jun 2007 00:02:54 +0000 what epoch are you posting from? https://lwn.net/Articles/238160/ https://lwn.net/Articles/238160/ drag Those things seem to have triggered some sort of bug.<br> <p> Rest assured people do have real-world Linux boxes that have over 512 cpus in a single system image. SGI has boxes, at least, have Linux boxes with 4096 cpus in a single system image.<br> <p> As far as clustering goes.. there are Linux systems with tens of thousands of cpus going.<br> <p> Linux kernel itself does scale past 8 cpus. Of course nothing is perfect.<br> Thu, 14 Jun 2007 07:36:34 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238131/ https://lwn.net/Articles/238131/ error27 Instead of "ridiculous and unfortunate" I would say "justified by current events."<br> <p> Thu, 14 Jun 2007 01:59:23 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238113/ https://lwn.net/Articles/238113/ notamisfit It creates the possibility that code created in a downstream work may not be usable upstream. Linus has put his cards on the table in the past; he wants code back. <br> Wed, 13 Jun 2007 21:56:58 +0000 okay but, https://lwn.net/Articles/238101/ https://lwn.net/Articles/238101/ dlang note that the zfs code released for grub is not enough to actually be able to write to the filesystem, just enough for grub to be able to find the files that it needs.<br> Wed, 13 Jun 2007 19:51:38 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238028/ https://lwn.net/Articles/238028/ man_ls It is not so unreasonable: Linus <a href="http://lkml.org/lkml/2006/9/27/414">said</a>: <blockquote> How can you _ever_ sign anything sight unseen? That's just stupid, and that's totally regardless of any worries about the FSF. </blockquote> Said that way, it looks like the correct thing to do. However, given that (as you say) "v2 or later" licensing gives the choice to the user, I'm not particularly worried about misuse. Wed, 13 Jun 2007 13:36:54 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238025/ https://lwn.net/Articles/238025/ job Maaaybe there was a good reason why the FSF recommended the use of "v2 or later" licensing. Then you basically leave the choice to the user. I never understood what Linus didn't like about that, except some unspecified fear of the FSF, which would be not only ridicolous but also unfortunate.<br> Wed, 13 Jun 2007 13:09:12 +0000 competition https://lwn.net/Articles/238019/ https://lwn.net/Articles/238019/ qu1j0t3 There difference may be that it's augmentative competition rather than destructive - In business, it's optimal to completely eliminate rivals. In open source, you don't have to do that; you can just do better. It's a more pure meritocracy. I hope. :)<br> <p> That said, there's still some dirty pool played from time to time, but since it's played in the open, it hardly festers.<br> <p> Wed, 13 Jun 2007 12:47:40 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238018/ https://lwn.net/Articles/238018/ paulj <p><i>Of course CDDL is hopeless is this regard as hackers must transfer copyright to Sun, who want to do that?</i> </p><p> This is false. </p><p> You need to sign a <a href="http://www.opensolaris.org/os/about/sun_contributor_agreement/">contributors agreement with Sun</a>, granting Sun <i>joint</i> ownership, if you wish to have Sun incorporate any contribution to various open-source projects which Sun founded and maintain (such as OpenSolaris, amongst other projects). </p><p> However the CDDL does <b>not</b> require any copyright transfership, and you're quite free to take and hack away on CDDLed code, like OpenSolaris, without giving copyright ownership to Sun or anyone else. </p> Wed, 13 Jun 2007 12:36:14 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238017/ https://lwn.net/Articles/238017/ marduk Reads like typical salesmanship. Sales talk always "sounds" good...<br> <p> I actually disagreed with his implication that communities don't compete (only corporations). There exists competition in the OSS community.<br> Wed, 13 Jun 2007 12:25:12 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238007/ https://lwn.net/Articles/238007/ venkatesh045 You could read Jonathan Schwartz's reply to this post. I think he clarifies a lot of issues as to what Sun is looking at. <a rel="nofollow" href="http://blogs.sun.com/jonathan/entry/one_plus_one_is_fifty"> This post </a> is actually worth a good read. Wed, 13 Jun 2007 10:03:21 +0000 okay but, https://lwn.net/Articles/238005/ https://lwn.net/Articles/238005/ mjthayer That said "GPL v2 or later" if I read correctly. I didn't take the time to read the code, but presumably that is only code for reading and would not affect potential patents on writing parts.<br> <p> On another note, if Sun make Solaris GPL3 and accept external contributions, it might get tricky to keep parts (i.e. ZFS) under another licence.<br> Wed, 13 Jun 2007 09:38:06 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238004/ https://lwn.net/Articles/238004/ man_ls That kind of compatibility is not much help, unless all of the kernel is licensed as "v2 or later". As long as there is a single file licensed under "v2 only", it becomes impossible to link with a single "v3 only" file. <p> Meanwhile, relicensing all files under a "v2 or later" license might seem to be a necessary first step to a GPLv3 kernel. But given Linus' reluctance to blanket license, I would rather expect a "dual v2-v3" license, if the migration is to be done at all. Wed, 13 Jun 2007 09:37:07 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/238002/ https://lwn.net/Articles/238002/ forthy <p>The FSF took great efforts that GPL versions can be made compatible. The paragraph that deals with it is section 9 of the GPL. Read it, especially the last part - many files in the Linux kernel are not explicitely restricted to a specific GPL versions, which means "any version". And section 6 makes sure that everybody receives a license from the original licensor, not from a compilation editor like Linus Torvalds.</p> <p>The compilation editor (Linus Torvalds) can set terms under which he redistributes the work, i.e. conditions he has to follow. But since everybody receives the license from the original licensors, this "restriction" is null and void, you still can make a compilation yourself which does not restrict the license version, and then, most parts of Linux are compatible with GPLv3 (because you can either choose any GPL or explicitely v2 or later).</p> Wed, 13 Jun 2007 08:20:17 +0000 okay but, https://lwn.net/Articles/238001/ https://lwn.net/Articles/238001/ TRS-80 One could always start from <a rel="nofollow" href="http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/grub/grub-0.95/stage2/fsys_zfs.c">Sun's GPLv2 ZFS code</a> in GRUB. And Jonathon Schwartz has just posted saying <a rel="nofollow" href="http://blogs.sun.com/jonathan/entry/one_plus_one_is_fifty">Linux ZFS would have full patent indemnity</a>. Wed, 13 Jun 2007 07:57:14 +0000 what epoch are you posting from? https://lwn.net/Articles/237989/ https://lwn.net/Articles/237989/ Nick Poster is probably talking about this blog entry<br> <p> <a href="http://jeffr-tech.livejournal.com/5705.html">http://jeffr-tech.livejournal.com/5705.html</a><br> <p> So he is right, and Linux did have a problem on this<br> workload. Basically it was a combination of a glibc<br> inefficiency and the fact that nobody seems to have<br> reported such a workload before. The fix was basically<br> a small change to the way malloc/free works, and a<br> little patch to the kernel to optimise the new path<br> used by glibc.<br> <p> <a href="http://www.thisishull.net/showpost.php?s=5d2bfa8b5a0707286a86d7c57a2c6308&amp;p=1010222&amp;postcount=2">http://www.thisishull.net/showpost.php?s=5d2bfa8b5a070728...</a><br> <p> That post found the fixes to have eliminated the big<br> dropoff. Note it still doesn't scale past 8-way, but<br> this is likely to be a MySQL issue -- BSD doesn't do<br> any better.<br> Wed, 13 Jun 2007 03:03:55 +0000 what epoch are you posting from? https://lwn.net/Articles/237987/ https://lwn.net/Articles/237987/ xoddam <font class="QuotedText">&gt; linux kernel having problem scaling beyond 8-way compared to bsd.</font><br> <p> You're several years behind. A long time_t in LKML-land.<br> Wed, 13 Jun 2007 02:37:58 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/237983/ https://lwn.net/Articles/237983/ wolfrider <font class="QuotedText">&gt; JFS [is] rarely used</font><br> <p> --Depends on who you ask. I use JFS now almost exclusively for Vmware and "bkps" (read: large) filesystems, where before I would use ReiserfsV3 with notail.<br> <p> --After seeing how fast (and reliable) JFS is, I switched almost all my Reiser filesystems over to it - and have been much happier. Reiser is great for root and squid (tail-packing) but not ideal when you're trying to run a VM from a USB2 IDE drive. JFS makes it usable.<br> <p> <p> Wed, 13 Jun 2007 01:48:36 +0000 okay but, https://lwn.net/Articles/237977/ https://lwn.net/Articles/237977/ qu1j0t3 This still does not fully explain to me why, to date, kernel devs aren't looking dispassionately as the affordances of ZFS and how they might have them without stepping on anyone's patent*. Max V. Yudin recently asked on zfs-discuss, <blockquote><i> <p>... is it legal to write ZFS clone from scratch while maintaining binary compatibility with original? <p> Jeff mentioned in his blog that Sun filled 56 patents on ZFS related technologies. Can anybody from the company provide me with more information about this? <p> If porting ZFS to Linux kernel is not an option and I were to implement different file system with ZFS ideas in mind how can I be safe and not break any Sun patents? </i></blockquote> <p> There has been no meaningful resolution of his questions. At least it may prove that, thanks to software patents, interesting development is now impossible. So much for stimulating innovation... <p>* - I suppose NetApp has patents too, but perhaps Linus wishes to imply that they would be more tractable to deal with than Sun (maybe he actually knows somebody @ NetApp). Let's dream for a moment, and imagine that Linus and Jonathan, over a <i>piña colada</i> one Sunday, work out a magical way to free ZFS for kernel inclusion. That would be a P/R coup for Sun an order of magnitude greater than even the Apple buzz. Since Solaris 10 famously runs on all varieties of hardware (IBM, HP, Dell, even Macs), I don't seriously think Jonathan believes this would damage hardware sales. Then again, I only have the ponytail, not an MBA, and my bonuses are a few zeroes short of his. ;-) Wed, 13 Jun 2007 00:21:53 +0000 linux core better? https://lwn.net/Articles/237976/ https://lwn.net/Articles/237976/ JoeBuck You are seriously out of date; folks at SGI have Linux running on <a href="http://www.hpcwire.com/hpc/952412.html">1024 processors</a>. <p> The Solaris and BSD folks cannot claim to be more scalable than Linux at this point; it appears that the reverse is true. Wed, 13 Jun 2007 00:11:42 +0000 forthright != Linus https://lwn.net/Articles/237973/ https://lwn.net/Articles/237973/ JoeBuck The issue with Sun is not that they prefer a particular license, but that they are choosing to license patents only to code that uses their particular license, while IBM, Red Hat, Novell, and others are licensing a number of patents (or in Red Hat's case, all their patents) to developers who use a much larger set of open source licenses. Wed, 13 Jun 2007 00:03:10 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/237972/ https://lwn.net/Articles/237972/ JoeBuck To be fair, Sun's launching a project, called "Indiana", to correct that deficiency and produce something that would resemble a GNU/Linux distribution. It will take them some time to do it, but I'm looking forward to it. Wed, 13 Jun 2007 00:00:19 +0000 linux core better? https://lwn.net/Articles/237970/ https://lwn.net/Articles/237970/ genius i dont think i can agree with it. that was a blog last time about the linux kernel having problem scaling beyond 8-way compared to bsd. not sure whether they have solved it. on the other hand, linux has definitely revived interest in unix.<br> Tue, 12 Jun 2007 23:54:32 +0000 forthright != Linus https://lwn.net/Articles/237969/ https://lwn.net/Articles/237969/ qu1j0t3 <p>It's not very "forthright" to inject snide Linusisms such as <i>"the only really interesting thing they have is ZFS, and even there, I suspect we'd be better off talking to NetApp"!</i> XFS is already integrated, and that has about as much in common with ZFS as WAFL does. <p> It comes across as sour grapes about the license, and even some N-I-H (<i>"core Solaris: who are you kidding - Linux code is _better_"</i>). Btw, there is as much spurious rancor of the opposite polarity from the Sun camp, as recent zfs-discuss flamefests can attest. <p> Why can't we all just get along? - Admit that some people like BSD license, some people like GPL, Sun likes CDDL for now, and ZFS plain rocks... :) <p> Linux devs ignore it at their peril; Linus, being an engineer of Sun's calibre, could do a much more helpful job of deconstructing the issue. Tue, 12 Jun 2007 23:43:51 +0000 WAFL != ZFS https://lwn.net/Articles/237963/ https://lwn.net/Articles/237963/ allesfresser I don't think it's anywhere near FUD, personally. It sounded simply like classic Linus--he's being very transparently honest. He hopes and wishes that Schwartz and company are being as open and forthright as they claim to be, but knowing human nature and the temptations that beset us, he is keeping his powder dry and his head down, so to speak.<br> Tue, 12 Jun 2007 23:03:30 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/237957/ https://lwn.net/Articles/237957/ cyperpunks Linus is right, Sun don't want Linux source code, they want Linux' kernel hackers (and<br> then later Linux' users). <br> <p> Of course CDDL is hopeless is this regard as hackers must transfer copyright to Sun, who<br> want to do that? <br> <p> Sun have to fix the bootstrap problem too: it's now not possible to build a complete<br> free Solaris "distribution". You must use some non free Sun tools at some point.<br> <p> Who wants to contribute to project you can't build yourself?<br> <p> <p> <p> <p> Tue, 12 Jun 2007 22:28:46 +0000 WAFL != ZFS https://lwn.net/Articles/237953/ https://lwn.net/Articles/237953/ qu1j0t3 I have to assume Linus knows that. Sigh. If not, like another poster here, he should Google... I'm tired of posting ZFS linkfests ;-)<br> <p> He's treading close to the FUD-line with this one. There's also a hidden assumption here that Jonathan Schwartz is being disingenuous with his massively revamped corporate strategy.<br> <p> Sun's a hardware company. They're happy for you to run Linux on your Sun gear if you prefer - it's a supported option - heck, they even support Windows.<br> Tue, 12 Jun 2007 21:56:28 +0000 for the clueless https://lwn.net/Articles/237950/ https://lwn.net/Articles/237950/ huerlisi Because it's a nice product of computer engineering. Here's a quote from a <a href="http://blogs.sun.com/bonwick/entry/128_bit_storage_are_you">nice-to-read geeky background article</a> : <blockquote>64 bits would have been plenty ... but then you can't talk out of your ass about boiling oceans then, can you? </blockquote> Simon Tue, 12 Jun 2007 21:14:17 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/237949/ https://lwn.net/Articles/237949/ man_ls <a href="http://gplv3.fsf.org/rms-why.html">True</a>: <blockquote> When we say that GPLv2 and GPLv3 are incompatible, it means there is no legal way to combine code under GPLv2 with code under GPLv3 in a single program. This is because both GPLv2 and GPLv3 are copyleft licenses: each of them says, “If you include code under this license in a larger program, the larger program must be under this license too.” There is no way to make them compatible. </blockquote> Tue, 12 Jun 2007 21:04:07 +0000 Linus on GPLv3 and ZFS https://lwn.net/Articles/237945/ https://lwn.net/Articles/237945/ JoeBuck If all of the kernel code were GPLv2 || GPLv3, it could be combined with a GPLv3 ZFS. The collection as a whole would be GPLv3 only if ZFS were added, but ZFS could be a module, and everything would be legal, while embedded software developers who want to do DRM could still use the rest of Linux (except ZFS). Tue, 12 Jun 2007 20:43:09 +0000 Google is your friend https://lwn.net/Articles/237941/ https://lwn.net/Articles/237941/ rfunk <a href="http://www.opensolaris.org/os/community/zfs/">http://www.opensolaris.org/os/community/zfs/</a><br> Tue, 12 Jun 2007 20:21:14 +0000