4 ms·
> Taking the code in the Solaris kernel that provides ZFS and porting it to the Linux VFS is a massive undertaking that would require rewriting most of the "sta
by insaneirish 13y ago
> Taking the code in the Solaris kernel that provides ZFS and porting it to the Linux VFS is a massive undertaking that would require rewriting most of the "stable" guts of ZFS.
And it's been done and working quite well considering. There still are improvements to be made, but progress is happening.
See slide 9 of this in particular: http://www.slideshare.net/MatthewAhrens/open-zfs-linuxcon http://www.slideshare.net/MatthewAhrens/open-zfs-linuxcon
- SEJeff 13y agoI don't mean adding solaris / illumos interfaces (see slide 8 on your link) into the Linux kernel. That will simply never be accepted upstream. I mean properly porting it from the Solaris to the Linux VFS without a shim ie a native port. That still has not been done. It is a ridiculous amount of work.
- kinghajj 13y agoWait, if the current Linux ZFS module doesn't interface with the Linux VFS, then how does the filesystem even work? Did they write a Solaris VFS -> Linux VFS bridge?
- SEJeff 13y agoYes, as evidenced on slide 8 of that link. """ Solaris Porting Layer - Adds stable Solaris/Illumos interfaces * Tasqs, lists, condition variables, rwlocks, memory allocators, etc - Layers ontop of Linux equivalents if available - Solaris specific interfaces were implemented from scratch """ It doesn't (currently) use the Linux page cache, which causes quite a few ancillary issues. The idea is awesome, but this will simply never be able to be "natively" in linux without a rewrite of much of the core.