On Thu, Dec 3, 2015 at 4:52 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: > On 2-12-2015 15:13, Yan, Zheng wrote: >> see https://github.com/ceph/ceph/pull/6770. The code can be compiled >> on FreeBSD/OSX, most client programs can connect to ceph servers on >> Linux. > > Hi, > > I do like some of the inline compiler tests. > > I guess that the way the errno's are done like the other OS's have done > as well? > I'd normally solve this with a static array, and just index it. > But perhaps the compiler is smart enough to do the same. > > > I see that you have disabled uuid? > Might I ask why? not disable. Currently ceph uses boost uuid implementation. so no need to link to libuuid. > > I Suggest you have a look at the issue Alan brought up. > Which is a possible fix for doing it the other way around: > Linux clients on a FreeBSD "cluster" > But as Sage suggest: Could be very well solved by fixed brougt in for AIX. > > --WjW > >> Regards >> Yan. Zheng >> >> On Wed, Dec 2, 2015 at 2:43 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: >>> On 1-12-2015 19:36, Sage Weil wrote: >>>> >>>> On Tue, 1 Dec 2015, Alan Somers wrote: >>>>> >>>>> On Tue, Dec 1, 2015 at 11:08 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> >>>>> wrote: >>>>>> >>>>>> On 1-12-2015 18:22, Alan Somers wrote: >>>>>>> >>>>>>> >>>>>>> I did some work porting Ceph to FreeBSD, but got distracted and >>>>>>> stopped about two years ago. You may find this port useful, though it >>>>>>> will probably need to be updated: >>>>>>> >>>>>>> https://people.freebsd.org/~asomers/ports/net/ceph/ >>>>>> >>>>>> >>>>>> >>>>>> I'll chcek that one as well... >>>>>> >>>>>>> Also, there's one major outstanding issue that I know of. It breaks >>>>>>> interoperability between FreeBSD and Linux Ceph nodes. I posted a >>>>>>> patch to fix it, but it doesn't look like it's been merged yet. >>>>>>> http://tracker.ceph.com/issues/6636 >>>>>> >>>>>> >>>>>> >>>>>> In the issues I find: >>>>>> ==== >>>>>> Updated by Sage Weil almost 2 years ago >>>>>> >>>>>> Status changed from New to Verified >>>>>> Updated by Sage Weil almost 2 years ago >>>>>> >>>>>> Assignee set to Noah Watkins >>>>>> ==== >>>>>> >>>>>> Probably left at that point because there was no presure to actually >>>>>> commit? >>>>>> >>>>>> --WjW >>>>> >>>>> >>>>> It looks like Sage reviewed the change, but had some comments that >>>>> were mostly style-related. Neither Noah nor I actually got around to >>>>> implementing Sage's suggestions. >>>>> >>>>> https://github.com/ceph/ceph/pull/828 >>>> >>>> >>>> The uuid transition to boost::uuid has happened since then (a few months >>>> back) and I believe Rohan's AIX and Solaris ports for librados (that just >>>> merged) included a fix for the sockaddr_storage issue: >>>> >>>> https://github.com/ceph/ceph/blob/master/src/msg/msg_types.h#L180 >>>> >>>> and also >>>> >>>> https://github.com/ceph/ceph/blob/master/src/msg/msg_types.h#L160 >>> >>> >>> >>> Would be nice to actually find that this works for FreeBSD as well. >>> But I'm putting this on the watch-list, once I get there. >>> >>> --WjW >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html