44 points · by wakaflockafliz · 13y ago · 14 comments
The text mentions that it works as a device mapper module, so does it actually work with dm-cache?
The readme on github suggests that it targets older kernel versions, most of which look like versions that ship in RHEL & Ubuntu LTS.
The versions in readme are slightly out of date. Maybe that's what facebook uses internally, but the driver seems to work perfectly with higher versions. I submitted some patches to update function signatures in 3.9, but that was only to get rid of compilation warnings - everything else still works.
This is actually relevant, at least, to me. I've been porting Twitter's fatcache[1] to iOS, and wouldn't be if it was GPL'd. I haven't even looked at Facebook's code, due to the GPL license, which makes it—literally—unusable to me on iOS and Android.
I am not a lawyer, and I have no real idea how likely said argument is to hold up in an actual court. It also seems unlikely that anyone would actually file a lawsuit about this sort of stuff. But if you want to be as careful as you can be, you won't go wrong if you use the GPL v2 on principle for a Linux device driver.
On this topic it is worth noting that Linus Torvalds has stated different seeming opinions at different times. In general as more and more of the Linux kernel has been made available to loadable modules, he's become less and less inclined towards the argument that they are not derivative works. See http://linuxmafia.com/faq/Kernel/proprietary-kernel-modules.... for a comparison of his views at two points in time. (I don't know his current views.)