Re: [PATCH] OpenSolaris/ZFS: C++ compatibility

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sat, 5 Feb 2011 16:39:20 +0100
On Fri, Feb 04, 2011 at 11:03:53AM -0700, Justin T. Gibbs wrote:
> The attached patch is sufficient to allow a C++ program to use libzfs.
> The motivation for these changes is work I'm doing on a ZFS fault
> handling daemon that is written in C++.  SpectraLogic's intention
> is to return this work to the FreeBSD project once it is a bit more
> complete.
> 
> Since these changes modify files that come from OpenSolaris, I want to be
> sure I understand the project's policies regarding divergence from
> the vendor before I check them in.  All of the changes save one should
> be trivial to merge with vendor changes and I will do that work for the
> v28 import.  Is there any reason I should not commit these changes?

Now that OpenSolaris is dead we don't have to be so strict with keeping
the diff against vendor small at all cost. I'd prefer not to modify
vendor code whenever possible so it is easier for us to cooperate with
IllumOS (we already took ome code from them).

Me and my company are also interested in fault management daemon
(although not restricted to ZFS, but a more general purpose mechanism
like FMA in Solaris). My question would be are there any chances you may
be convinced to use plain C? With C we might be able to help, but not
with C++.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Sat Feb 05 2011 - 14:39:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC