[Gluster-devel] Re: [Gluster-users] glusterfs-3.0.0 on solaris 10x86 - my first patch

shellcode shellcode at mail.ru
Fri Dec 11 09:59:16 UTC 2009


Greetings,

I successfully compile glusterfs-3.0.0 on OpenSolaris 2009.06 !

It's first dirty patch, please review it!

Problems:

1) /glusterfs-3.0.0/libglusterfs/src/xlator.h
O_ASYNC is not POSIX. Solaris doesnt support it. You should look at Solaris AIO. We
should do it with #ifdefs.
http://sunsite.uakom.sk/sunworldonline/swol-03-1996/swol-03-aio.html

2) glusterfs-3.0.0/glusterfsd/src/glusterfsd.c
 a) declare it: sighandler_t
 b) gf_proc_dump_info - not posix

3) /glusterfs-3.0.0/xlators/storage/posix/src/posix.h
 a) FTW_CONTINUE - not posix

Thanx!
p.s.
I'm attach patch, and it's aval. for downloading from our website http://node3.rnode.ru/glusterfs-3.0.0-p1.patch


WBR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glusterfs-3.0.0-p1.patch
Type: application/x-patch
Size: 3290 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20091211/b25c62e4/attachment-0003.bin>


More information about the Gluster-devel mailing list