Yesterday I decided to proceed to phase 2 of the project (Porting libzpool, ztest and zdb). And I'm happy to announce that libavl and libnvpair are already ported :)
Actually, it wasn't that difficult. I only had to change 7 lines of code for it to compile cleanly with gcc -Wall -Wno-unknown-pragmas (I'm using this flag because all files in the OpenSolaris source seem to have #pragma ident, which gcc doesn't recognize).
Now the real work begins. For libzpool to work, I'll have to implement a zfs_context.h which works with NPTL, and from the looks of it, it doesn't seem trivial :P
By the way, the ZFS on FUSE website was inacessible today because my Internet connection failed. Sorry about that.
Subscribe to:
Post Comments (Atom)
5 comments:
Excellent! Looks like you are make some good progress.
Can't wait for this -- I'm watching the site daily...
Thanks for keeping us updated on your progress.
My Internet outage was only a sporadic failure.. And I prefer to keep the website in my server, for now.
But thanks anyway :)
Why do you bother to port the code to GCC?
Sun Studio 11 compilers, debuggers and IDE are free-as-in-beer -- and available for GNU/Linux!!!
Not only wil you have less porting to do, but the Sun compilers can do performance analysis, algorithm and bad code detection, as well as optimizations GCC has no clue about and can't even touch...
...and did I mention that Sun Studio compiler generate smaller and faster code than GCC out-of-the-box on x86 and x64?
ux-admin - do you really believe you can convince everyone who wants to use ZFS on linux to install the Sun compiler?
My gentoo box doesn't even have it in portage, in fact I doubt any linux distribution has it in their package system.. sorry, but it's completely out of the question.
Don't get me wrong, I have nothing against it (well, maybe the fact that it isn't open-source ;).
Post a Comment